#952B99#952B99
#952B99 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.5% C 0.189 H 326.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #952B99 |
|---|---|
| RGB | rgb(149, 43, 153) |
| HSL | hsl(298, 56%, 38%) |
| HSV | hsv(298, 72%, 60%) |
| CMYK | cmyk(2.6%, 71.9%, 0%, 40%) |
| CIE-LAB | lab(38.58, 57.12, -37.66) |
| CIE-LCH | lch(38.58, 68.42, 326.60°) |
| OKLab | oklab(49.53% 0.1574 -0.1045) |
| OKLCH | oklch(49.53% 0.189 326.4) |
| XYZ | xyz(19.0077, 10.4185, 31.1406) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.11
Barney Purple
#A00498
ΔE00 3.10
Darkmagenta
#8B008B
ΔE00 5.18
Medium Purple
#9E43A2
ΔE00 5.25
Purply
#983FB2
ΔE00 5.56
Barney
#AC1DB8
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952B99 #2F992B
analogous
#5E2B99 #952B99 #992B66
triadic
#952B99 #99952B #2B9995
tetradic
#952B99 #995E2B #2F992B #2B6699
square
#952B99 #995E2B #2F992B #2B6699
split-complementary
#952B99 #66992B #2B995E
monochromatic
#381039 #661E69 #952B99 #C23AC8 #D169D5
Accessibility & contrast
On white
6.81
#952B99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#952B99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #952B99
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952B99 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#12529C
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#993D5F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #952b99; /* rgb */ color: rgb(149, 43, 153); /* oklch */ color: oklch(49.5% 0.189 326.4);
Tailwind
colors: {
custom: {
50: '#b86fb7',
500: '#952b99',
950: '#000000',
},
}SCSS
$custom: #952b99; $custom-light: #b86fb7; $custom-dark: #000000;
JSON
{
"hex": "#952b99",
"rgb": {
"r": 149,
"g": 43,
"b": 153
},
"hsl": {
"h": 297.818,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.4953,
"c": 0.18895,
"h": 326.4
},
"luminance": 0.10417
}Semantic roles & 50–950 ramp
primary
#952B99
secondary
#67BC64
accent
#DF484E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80