#942E9A#942E9A
#942E9A is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.186 H 325.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #942E9A |
|---|---|
| RGB | rgb(148, 46, 154) |
| HSL | hsl(297, 54%, 39%) |
| HSV | hsv(297, 70%, 60%) |
| CMYK | cmyk(3.9%, 70.1%, 0%, 39.6%) |
| CIE-LAB | lab(38.87, 55.95, -37.82) |
| CIE-LCH | lch(38.87, 67.54, 325.94°) |
| OKLab | oklab(49.72% 0.1531 -0.1051) |
| OKLCH | oklch(49.72% 0.186 325.5) |
| XYZ | xyz(19.0221, 10.5842, 31.6066) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.28
Barney Purple
#A00498
ΔE00 3.56
Medium Purple
#9E43A2
ΔE00 4.94
Purply
#983FB2
ΔE00 5.17
Darkmagenta
#8B008B
ΔE00 5.54
Barney
#AC1DB8
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942E9A #349A2E
analogous
#5E2E9A #942E9A #9A2E6A
triadic
#942E9A #9A942E #2E9A94
tetradic
#942E9A #9A5E2E #349A2E #2E6A9A
square
#942E9A #9A5E2E #349A2E #2E6A9A
split-complementary
#942E9A #6A9A2E #2E9A5E
monochromatic
#39123C #67206B #942E9A #BE3FC6 #CE6FD4
Accessibility & contrast
On white
6.74
#942E9A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#942E9A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #942E9A
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942E9A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942E9A | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#15539D
Deuteranopia (green-blind)
#446097
Tritanopia (blue-blind)
#983F61
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #942e9a; /* rgb */ color: rgb(148, 46, 154); /* oklch */ color: oklch(49.7% 0.186 325.5);
Tailwind
colors: {
custom: {
50: '#b770b8',
500: '#942e9a',
950: '#000000',
},
}SCSS
$custom: #942e9a; $custom-light: #b770b8; $custom-dark: #000000;
JSON
{
"hex": "#942e9a",
"rgb": {
"r": 148,
"g": 46,
"b": 154
},
"hsl": {
"h": 296.667,
"s": 54,
"l": 39.216
},
"oklch": {
"l": 0.49723,
"c": 0.18571,
"h": 325.5
},
"luminance": 0.10583
}Semantic roles & 50–950 ramp
primary
#942E9A
secondary
#6DBB69
accent
#DD4A53
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80