#942099#942099
#942099 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.5% C 0.200 H 326.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #942099 |
|---|---|
| RGB | rgb(148, 32, 153) |
| HSL | hsl(298, 65%, 36%) |
| HSV | hsv(298, 79%, 60%) |
| CMYK | cmyk(3.3%, 79.1%, 0%, 40%) |
| CIE-LAB | lab(37.17, 60.47, -39.92) |
| CIE-LCH | lch(37.17, 72.46, 326.57°) |
| OKLab | oklab(48.49% 0.1662 -0.1111) |
| OKLCH | oklch(48.49% 0.2 326.2) |
| XYZ | xyz(18.4787, 9.6301, 31.0163) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.40
Warm Purple
#952E8F
ΔE00 3.06
Darkmagenta
#8B008B
ΔE00 3.87
Purple (survey)
#7E1E9C
ΔE00 4.85
Barney
#AC1DB8
ΔE00 5.95
Purple
#800080
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#942099 #259920
analogous
#582099 #942099 #992062
triadic
#942099 #999420 #209994
tetradic
#942099 #995820 #259920 #206299
square
#942099 #995820 #259920 #206299
split-complementary
#942099 #629920 #209958
monochromatic
#320B34 #631566 #942099 #C52BCC #D657DC
Accessibility & contrast
On white
7.18
#942099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#942099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #942099
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##942099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##942099 | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#3E5C96
Tritanopia (blue-blind)
#98365C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #942099; /* rgb */ color: rgb(148, 32, 153); /* oklch */ color: oklch(48.5% 0.200 326.2);
Tailwind
colors: {
custom: {
50: '#b76ab7',
500: '#942099',
950: '#000000',
},
}SCSS
$custom: #942099; $custom-light: #b76ab7; $custom-dark: #000000;
JSON
{
"hex": "#942099",
"rgb": {
"r": 148,
"g": 32,
"b": 153
},
"hsl": {
"h": 297.521,
"s": 65.405,
"l": 36.275
},
"oklch": {
"l": 0.4849,
"c": 0.19994,
"h": 326.2
},
"luminance": 0.09629
}Semantic roles & 50–950 ramp
primary
#942099
secondary
#59C055
accent
#E83F46
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80