#942199#942199
#942199 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.6% C 0.199 H 326.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #942199 |
|---|---|
| RGB | rgb(148, 33, 153) |
| HSL | hsl(298, 65%, 36%) |
| HSV | hsv(298, 78%, 60%) |
| CMYK | cmyk(3.3%, 78.4%, 0%, 40%) |
| CIE-LAB | lab(37.27, 60.18, -39.76) |
| CIE-LCH | lch(37.27, 72.13, 326.55°) |
| OKLab | oklab(48.56% 0.1654 -0.1106) |
| OKLCH | oklch(48.56% 0.199 326.2) |
| XYZ | xyz(18.5060, 9.6848, 31.0255) |
| Luminance | 0.0968 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.44
Warm Purple
#952E8F
ΔE00 2.97
Darkmagenta
#8B008B
ΔE00 3.96
Purple (survey)
#7E1E9C
ΔE00 4.90
Barney
#AC1DB8
ΔE00 5.91
Purple
#800080
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942199 #269921
analogous
#582199 #942199 #992162
triadic
#942199 #999421 #219994
tetradic
#942199 #995821 #269921 #216299
square
#942199 #995821 #269921 #216299
split-complementary
#942199 #629921 #219958
monochromatic
#330B34 #631667 #942199 #C52CCB #D659DB
Accessibility & contrast
On white
7.15
#942199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#942199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942199
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942199 | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#3F5D96
Tritanopia (blue-blind)
#98375D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #942199; /* rgb */ color: rgb(148, 33, 153); /* oklch */ color: oklch(48.6% 0.199 326.2);
Tailwind
colors: {
custom: {
50: '#b76bb7',
500: '#942199',
950: '#000000',
},
}SCSS
$custom: #942199; $custom-light: #b76bb7; $custom-dark: #000000;
JSON
{
"hex": "#942199",
"rgb": {
"r": 148,
"g": 33,
"b": 153
},
"hsl": {
"h": 297.5,
"s": 64.516,
"l": 36.471
},
"oklch": {
"l": 0.48561,
"c": 0.19901,
"h": 326.2
},
"luminance": 0.09684
}Semantic roles & 50–950 ramp
primary
#942199
secondary
#5BBF56
accent
#E84047
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80