#942499#942499
#942499 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.196 H 326.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).
Color values
| HEX | #942499 |
|---|---|
| RGB | rgb(148, 36, 153) |
| HSL | hsl(297, 62%, 37%) |
| HSV | hsv(297, 76%, 60%) |
| CMYK | cmyk(3.3%, 76.5%, 0%, 40%) |
| CIE-LAB | lab(37.59, 59.27, -39.26) |
| CIE-LCH | lch(37.59, 71.09, 326.48°) |
| OKLab | oklab(48.79% 0.1629 -0.1092) |
| OKLCH | oklch(48.79% 0.196 326.2) |
| XYZ | xyz(18.5930, 9.8588, 31.0545) |
| Luminance | 0.0986 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.59
Warm Purple
#952E8F
ΔE00 2.72
Darkmagenta
#8B008B
ΔE00 4.26
Purple (survey)
#7E1E9C
ΔE00 5.08
Barney
#AC1DB8
ΔE00 5.82
Purply
#983FB2
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942499 #299924
analogous
#5A2499 #942499 #992464
triadic
#942499 #999424 #249994
tetradic
#942499 #995A24 #299924 #246499
square
#942499 #995A24 #299924 #246499
split-complementary
#942499 #649924 #24995A
monochromatic
#340D36 #641867 #942499 #C430CB #D45ED9
Accessibility & contrast
On white
7.07
#942499 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#942499 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942499
7.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942499 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942499 | 1.00 | 7.07 | 2.97 | 7.07 |
| #FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#98385D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #942499; /* rgb */ color: rgb(148, 36, 153); /* oklch */ color: oklch(48.8% 0.196 326.2);
Tailwind
colors: {
custom: {
50: '#b76cb7',
500: '#942499',
950: '#000000',
},
}SCSS
$custom: #942499; $custom-light: #b76cb7; $custom-dark: #000000;
JSON
{
"hex": "#942499",
"rgb": {
"r": 148,
"g": 36,
"b": 153
},
"hsl": {
"h": 297.436,
"s": 61.905,
"l": 37.059
},
"oklch": {
"l": 0.48787,
"c": 0.19609,
"h": 326.2
},
"luminance": 0.09858
}Semantic roles & 50–950 ramp
primary
#942499
secondary
#5FBE5B
accent
#E5434A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80