#952AA2#952AA2
#952AA2 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.198 H 323.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #952AA2 |
|---|---|
| RGB | rgb(149, 42, 162) |
| HSL | hsl(294, 59%, 40%) |
| HSV | hsv(294, 74%, 64%) |
| CMYK | cmyk(8%, 74.1%, 0%, 36.5%) |
| CIE-LAB | lab(38.99, 59.08, -42.44) |
| CIE-LCH | lch(38.99, 72.74, 324.31°) |
| OKLab | oklab(50% 0.1581 -0.1185) |
| OKLCH | oklch(50% 0.198 323.2) |
| XYZ | xyz(19.7434, 10.6553, 35.1922) |
| Luminance | 0.1065 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 3.73
Warm Purple
#952E8F
ΔE00 3.78
Purply
#983FB2
ΔE00 4.58
Barney
#AC1DB8
ΔE00 4.62
Purple (survey)
#7E1E9C
ΔE00 5.25
Medium Purple
#9E43A2
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952AA2 #37A22A
analogous
#592AA2 #952AA2 #A22A73
triadic
#952AA2 #A2952A #2AA295
tetradic
#952AA2 #A2592A #37A22A #2A73A2
square
#952AA2 #A2592A #37A22A #2A73A2
split-complementary
#952AA2 #73A22A #2AA259
monochromatic
#3C1141 #681D71 #952AA2 #BD3DCD #CE6DD9
Accessibility & contrast
On white
6.71
#952AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#952AA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #952AA2
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952AA2 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#3E609F
Tritanopia (blue-blind)
#974064
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #952aa2; /* rgb */ color: rgb(149, 42, 162); /* oklch */ color: oklch(50.0% 0.198 323.2);
Tailwind
colors: {
custom: {
50: '#b86fbe',
500: '#952aa2',
950: '#000000',
},
}SCSS
$custom: #952aa2; $custom-light: #b86fbe; $custom-dark: #000000;
JSON
{
"hex": "#952aa2",
"rgb": {
"r": 149,
"g": 42,
"b": 162
},
"hsl": {
"h": 293.5,
"s": 58.824,
"l": 40
},
"oklch": {
"l": 0.49996,
"c": 0.19755,
"h": 323.2
},
"luminance": 0.10654
}Semantic roles & 50–950 ramp
primary
#952AA2
secondary
#71C068
accent
#E24657
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81