Crayola crayon color
Crayola Purple Mountain's Majesty #9D81BA
Crayola Purple Mountain's Majesty is shown here as #9D81BA, the commonly published value for the crayon. It is a muted violet in the violet family. In OKLCH it sits at lightness 0.650, chroma 0.089 and hue 306.5°. The nearest CSS named color is mediumpurple (#9370DB), ΔE2000 10.1 away.
- Relative luminance
- 0.2641
- OKLCH L · C · h
- 0.650 · 0.089 · 306.5
- Best text
- Black 6.28:1
- Hue family
- Violet
#9D81BA color codes
- HEX
#9D81BA- RGB
rgb(157, 129, 186)- HSL
hsl(269, 29%, 62%)- OKLCH
oklch(0.650 0.089 306.5)- OKLab
oklab(0.650 0.053 -0.071)- CIELAB (D65)
L* 58.43, a* 21.94, b* -25.90- XYZ (D65)
X 30.62, Y 26.41, Z 49.93- CMYK (naive)
cmyk(16%, 31%, 0%, 27%)
CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.
Crayola is a trademark of Crayola LLC, which this site is not affiliated with. The value is the commonly published sRGB rendering of the crayon, not a Crayola specification.
Legibility
Contrast: is #9D81BA accessible?
Black text on it reaches 6.28:1, passing AA. White text manages only 3.34:1, enough for large text only.
WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.
Open the Contrast System-
Black text on it
6.28:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc +43
-
White text on it
3.34:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc −66
-
As text on black
6.28:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc −40
-
As text on white
3.34:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc +60
Nearest versions that pass 4.5:1
-
For text on white
#866BA2 4.52:1
Darkening its OKLCH lightness from 0.65 to 0.58 reaches 4.52:1 on white, keeping the hue.
-
For text on black
#9D81BA 6.28:1
It already reaches 6.28:1 on black, so no change is needed.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #9D81BA live
Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.
Scale
Shades and tints of #9D81BA
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #9D81BA sits at step 500.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Gamut
How vivid #9D81BA can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.241; #9D81BA uses 37% of it. Display P3, which many recent phones and laptops show, reaches 0.261 there: 9% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.089
- sRGB edge
- 0.241
- Display P3 edge
- 0.261
- Rec. 2020 edge
- 0.265
- Dominant wavelength
- Complementary 564 nm
- Excitation purity
- 26%
- Chromaticity
- x 0.2862, y 0.2470
- This color#9D81BA
- Most vivid in sRGB#B558FF
- Most vivid in Display P3oklch(0.650 0.261 306.5)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #9d81ba;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0.6734 0.3326 1); }
}
Mixing
Mixing #9D81BA
Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.
White #FFFFFF
- sRGB50%#CEC0DD
- OKLab50%#CDBFDD
- OKLCH50%#CDBFDD
Black #000000
- sRGB50%#4F415D
- OKLab50%#3A2E46
- OKLCH50%#3A2E46
Its complement #81995D
- sRGB50%#8F8D8C
- OKLab50%#8F8F8F
- OKLCH50%#BE7C69
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #9d81ba, white);
color: color-mix(in oklch, #9d81ba 50%, white);
In use
#9D81BA in an interface
A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.
Light page
- Button labelText, 4.5:16.28:1 Passes
- Link and body-size textText, 4.5:13.34:1 Fails
- Large headingLarge text, 3:13.34:1 Passes
- Icons, borders and focus ringsNon-text, 3:13.34:1 Passes
For text on this page, the nearest shade that passes is #866BA2 4.52:1
Dark page
- Button labelText, 4.5:16.28:1 Passes
- Link and body-size textText, 4.5:15.60:1 Passes
- Large headingLarge text, 3:15.60:1 Passes
- Icons, borders and focus ringsNon-text, 3:15.60:1 Passes
Color vision
How #9D81BA looks with color blindness
Achromatopsia changes it most, ΔE2000 21.0; deuteranopia changes it least, 12.4.
Simulated with Machado et al. (2009) at full severity, in linear light.
Simulate a whole page What each type sees-
Protanopia
No working red (long-wavelength) cones
#768BBC ΔE2000 13.4
Distinct
Reads as muted blue
-
Deuteranopia
No working green (medium-wavelength) cones
#7C8DB8 ΔE2000 12.4
Distinct
Reads as muted blue
-
Tritanopia
No working blue (short-wavelength) cones
#998995 ΔE2000 13.8
Distinct
Reads as grayish magenta
-
Achromatopsia
No cone color vision; lightness only
#8C8C8C ΔE2000 21.0
Distinct
Reads as gray
Pairing check
Checked against its complement, #81995D. Their lightness contrast is only 1.05:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #9D81BA · #81995D | 50.1 | Stays distinct |
| Protanopia | #768BBC · #9F9259 | 39.5 | Stays distinct |
| Deuteranopia | #7C8DB8 · #9B9060 | 35.9 | Stays distinct |
| Tritanopia | #998995 · #84948A | 20.0 | Stays distinct |
| Achromatopsia | #8C8C8C · #919191 | 1.7 | Easily confused |
Harmony
Color harmonies for #9D81BA
Its complement is #81995D, a muted green.
Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.
Open the Harmony Studio- Base#9D81BA
- Complement#81995D
Complementary
Open in Harmony Studio- −30°#818AC5
- Base#9D81BA
- +30°#B27AA3
Analogous
Open in Harmony Studio- Base#9D81BA
- +120°#B48452
- +240°#44A198
Triadic
Open in Harmony Studio- Base#9D81BA
- +150°#9F8F4D
- +210°#5FA079
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-crayola-purple-mountains-majesty: #9d81ba;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'crayola-purple-mountains-majesty': '#9d81ba',
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
--color-crayola-purple-mountains-majesty: oklch(0.650 0.089 306.5);
}
{
"color": {
"crayola-purple-mountains-majesty": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.6157, 0.5059, 0.7294],
"hex": "#9d81ba"
},
"$description": "Crayola Purple Mountain's Majesty"
}
}
}
import SwiftUI
enum Palette {
static let crayolaPurpleMountainsMajesty = Color(.sRGB, red: 0.616, green: 0.506, blue: 0.729, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val CrayolaPurpleMountainsMajesty = Color(0xFF9D81BA)
}
Matches
The nearest match in each system
The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.
Tools
Open #9D81BA in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.