#952F99#952F99
#952F99 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.184 H 326.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #952F99 |
|---|---|
| RGB | rgb(149, 47, 153) |
| HSL | hsl(298, 53%, 39%) |
| HSV | hsv(298, 69%, 60%) |
| CMYK | cmyk(2.6%, 69.3%, 0%, 40%) |
| CIE-LAB | lab(39.11, 55.62, -36.82) |
| CIE-LCH | lch(39.11, 66.71, 326.50°) |
| OKLab | oklab(49.91% 0.1532 -0.1021) |
| OKLCH | oklch(49.91% 0.184 326.3) |
| XYZ | xyz(19.1603, 10.7238, 31.1915) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 1.98
Barney Purple
#A00498
ΔE00 3.58
Medium Purple
#9E43A2
ΔE00 4.68
Purply
#983FB2
ΔE00 5.23
Ugly Purple
#A442A0
ΔE00 5.34
Barney
#AC1DB8
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952F99 #33992F
analogous
#602F99 #952F99 #992F68
triadic
#952F99 #99952F #2F9995
tetradic
#952F99 #99602F #33992F #2F6899
square
#952F99 #99602F #33992F #2F6899
split-complementary
#952F99 #68992F #2F9960
monochromatic
#3A123B #67216A #952F99 #C041C5 #CF6FD3
Accessibility & contrast
On white
6.68
#952F99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#952F99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #952F99
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952F99 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A549C
Deuteranopia (green-blind)
#476196
Tritanopia (blue-blind)
#993F60
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #952f99; /* rgb */ color: rgb(149, 47, 153); /* oklch */ color: oklch(49.9% 0.184 326.3);
Tailwind
colors: {
custom: {
50: '#b771b7',
500: '#952f99',
950: '#000000',
},
}SCSS
$custom: #952f99; $custom-light: #b771b7; $custom-dark: #000000;
JSON
{
"hex": "#952f99",
"rgb": {
"r": 149,
"g": 47,
"b": 153
},
"hsl": {
"h": 297.736,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.49909,
"c": 0.18414,
"h": 326.3
},
"luminance": 0.10722
}Semantic roles & 50–950 ramp
primary
#952F99
secondary
#6CBA69
accent
#DC4B51
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80