#942EAA#942EAA
#942EAA is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.199 H 319.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #942EAA |
|---|---|
| RGB | rgb(148, 46, 170) |
| HSL | hsl(289, 57%, 42%) |
| HSV | hsv(289, 73%, 67%) |
| CMYK | cmyk(12.9%, 72.9%, 0%, 33.3%) |
| CIE-LAB | lab(39.84, 58.90, -45.88) |
| CIE-LCH | lch(39.84, 74.67, 322.08°) |
| OKLab | oklab(50.72% 0.1525 -0.1286) |
| OKLCH | oklch(50.72% 0.199 319.9) |
| XYZ | xyz(20.4445, 11.1532, 39.0983) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.50
Barney
#AC1DB8
ΔE00 4.20
Barney Purple
#A00498
ΔE00 5.11
Warm Purple
#952E8F
ΔE00 5.18
Darkorchid
#9932CC
ΔE00 5.41
Purple (survey)
#7E1E9C
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942EAA #44AA2E
analogous
#562EAA #942EAA #AA2E82
triadic
#942EAA #AA942E #2EAA94
tetradic
#942EAA #AA562E #44AA2E #2E82AA
square
#942EAA #AA562E #44AA2E #2E82AA
split-complementary
#942EAA #82AA2E #2EAA56
monochromatic
#40144A #6A217A #942EAA #B648CD #C978DA
Accessibility & contrast
On white
6.50
#942EAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#942EAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #942EAA
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942EAA | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#3961A7
Tritanopia (blue-blind)
#944669
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #942eaa; /* rgb */ color: rgb(148, 46, 170); /* oklch */ color: oklch(50.7% 0.199 319.9);
Tailwind
colors: {
custom: {
50: '#b771c4',
500: '#942eaa',
950: '#000000',
},
}SCSS
$custom: #942eaa; $custom-light: #b771c4; $custom-dark: #000000;
JSON
{
"hex": "#942eaa",
"rgb": {
"r": 148,
"g": 46,
"b": 170
},
"hsl": {
"h": 289.355,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.50725,
"c": 0.19948,
"h": 319.9
},
"luminance": 0.11152
}Semantic roles & 50–950 ramp
primary
#942EAA
secondary
#80C371
accent
#E14762
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82