#952D9C#952D9C
#952D9C is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.189 H 325.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #952D9C |
|---|---|
| RGB | rgb(149, 45, 156) |
| HSL | hsl(296, 55%, 39%) |
| HSV | hsv(296, 71%, 61%) |
| CMYK | cmyk(4.5%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(39.02, 56.92, -38.79) |
| CIE-LCH | lch(39.02, 68.88, 325.73°) |
| OKLab | oklab(49.9% 0.1553 -0.1078) |
| OKLCH | oklch(49.9% 0.189 325.2) |
| XYZ | xyz(19.3331, 10.6679, 32.4868) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.59
Barney Purple
#A00498
ΔE00 3.48
Medium Purple
#9E43A2
ΔE00 4.94
Purply
#983FB2
ΔE00 4.97
Barney
#AC1DB8
ΔE00 5.22
Darkmagenta
#8B008B
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952D9C #349C2D
analogous
#5E2D9C #952D9C #9C2D6C
triadic
#952D9C #9C952D #2D9C95
tetradic
#952D9C #9C5E2D #349C2D #2D6C9C
square
#952D9C #9C5E2D #349C2D #2D6C9C
split-complementary
#952D9C #6C9C2D #2D9C5E
monochromatic
#3A123D #681F6D #952D9C #BF3FC8 #CF6ED5
Accessibility & contrast
On white
6.70
#952D9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#952D9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #952D9C
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952D9C | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#10549F
Deuteranopia (green-blind)
#446099
Tritanopia (blue-blind)
#983F61
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #952d9c; /* rgb */ color: rgb(149, 45, 156); /* oklch */ color: oklch(49.9% 0.189 325.2);
Tailwind
colors: {
custom: {
50: '#b870ba',
500: '#952d9c',
950: '#000000',
},
}SCSS
$custom: #952d9c; $custom-light: #b870ba; $custom-dark: #000000;
JSON
{
"hex": "#952d9c",
"rgb": {
"r": 149,
"g": 45,
"b": 156
},
"hsl": {
"h": 296.216,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.49896,
"c": 0.18909,
"h": 325.2
},
"luminance": 0.10667
}Semantic roles & 50–950 ramp
primary
#952D9C
secondary
#6EBC68
accent
#DF4953
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80