#952A9B#952A9B
#952A9B is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.192 H 325.7°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #952A9B |
|---|---|
| RGB | rgb(149, 42, 155) |
| HSL | hsl(297, 57%, 39%) |
| HSV | hsv(297, 73%, 61%) |
| CMYK | cmyk(3.9%, 72.9%, 0%, 39.2%) |
| CIE-LAB | lab(38.57, 57.83, -38.89) |
| CIE-LCH | lch(38.57, 69.69, 326.08°) |
| OKLab | oklab(49.56% 0.1584 -0.1081) |
| OKLCH | oklch(49.56% 0.192 325.7) |
| XYZ | xyz(19.1384, 10.4133, 32.0059) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.53
Barney Purple
#A00498
ΔE00 3.10
Darkmagenta
#8B008B
ΔE00 5.17
Barney
#AC1DB8
ΔE00 5.36
Medium Purple
#9E43A2
ΔE00 5.36
Purply
#983FB2
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952A9B #309B2A
analogous
#5C2A9B #952A9B #9B2A68
triadic
#952A9B #9B952A #2A9B95
tetradic
#952A9B #9B5C2A #309B2A #2A689B
square
#952A9B #9B5C2A #309B2A #2A689B
split-complementary
#952A9B #689B2A #2A9B5C
monochromatic
#38103B #671D6B #952A9B #C239C9 #D169D6
Accessibility & contrast
On white
6.81
#952A9B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#952A9B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #952A9B
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952A9B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952A9B | 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)
#0A529E
Deuteranopia (green-blind)
#435F98
Tritanopia (blue-blind)
#993D60
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #952a9b; /* rgb */ color: rgb(149, 42, 155); /* oklch */ color: oklch(49.6% 0.192 325.7);
Tailwind
colors: {
custom: {
50: '#b86fb9',
500: '#952a9b',
950: '#000000',
},
}SCSS
$custom: #952a9b; $custom-light: #b86fb9; $custom-dark: #000000;
JSON
{
"hex": "#952a9b",
"rgb": {
"r": 149,
"g": 42,
"b": 155
},
"hsl": {
"h": 296.814,
"s": 57.36,
"l": 38.627
},
"oklch": {
"l": 0.49561,
"c": 0.19174,
"h": 325.7
},
"luminance": 0.10412
}Semantic roles & 50–950 ramp
primary
#952A9B
secondary
#69BD64
accent
#E1474F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80