#952B9B#952B9B
#952B9B is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.7% C 0.191 H 325.7°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #952B9B |
|---|---|
| RGB | rgb(149, 43, 155) |
| HSL | hsl(297, 57%, 39%) |
| HSV | hsv(297, 72%, 61%) |
| CMYK | cmyk(3.9%, 72.3%, 0%, 39.2%) |
| CIE-LAB | lab(38.70, 57.47, -38.69) |
| CIE-LCH | lch(38.70, 69.28, 326.05°) |
| OKLab | oklab(49.65% 0.1574 -0.1075) |
| OKLCH | oklch(49.65% 0.191 325.7) |
| XYZ | xyz(19.1743, 10.4851, 32.0179) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.48
Barney Purple
#A00498
ΔE00 3.20
Medium Purple
#9E43A2
ΔE00 5.23
Purply
#983FB2
ΔE00 5.29
Darkmagenta
#8B008B
ΔE00 5.29
Barney
#AC1DB8
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952B9B #319B2B
analogous
#5D2B9B #952B9B #9B2B69
triadic
#952B9B #9B952B #2B9B95
tetradic
#952B9B #9B5D2B #319B2B #2B699B
square
#952B9B #9B5D2B #319B2B #2B699B
split-complementary
#952B9B #699B2B #2B9B5D
monochromatic
#39103B #671E6B #952B9B #C13BC9 #D06BD6
Accessibility & contrast
On white
6.78
#952B9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#952B9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #952B9B
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952B9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952B9B | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D539E
Deuteranopia (green-blind)
#436098
Tritanopia (blue-blind)
#993D60
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #952b9b; /* rgb */ color: rgb(149, 43, 155); /* oklch */ color: oklch(49.7% 0.191 325.7);
Tailwind
colors: {
custom: {
50: '#b86fb9',
500: '#952b9b',
950: '#000000',
},
}SCSS
$custom: #952b9b; $custom-light: #b86fb9; $custom-dark: #000000;
JSON
{
"hex": "#952b9b",
"rgb": {
"r": 149,
"g": 43,
"b": 155
},
"hsl": {
"h": 296.786,
"s": 56.566,
"l": 38.824
},
"oklch": {
"l": 0.49651,
"c": 0.1906,
"h": 325.7
},
"luminance": 0.10484
}Semantic roles & 50–950 ramp
primary
#952B9B
secondary
#6ABC65
accent
#E04850
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80