#952F9C#952F9C
#952F9C is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.187 H 325.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #952F9C |
|---|---|
| RGB | rgb(149, 47, 156) |
| HSL | hsl(296, 54%, 40%) |
| HSV | hsv(296, 70%, 61%) |
| CMYK | cmyk(4.5%, 69.9%, 0%, 38.8%) |
| CIE-LAB | lab(39.28, 56.16, -38.36) |
| CIE-LCH | lch(39.28, 68.01, 325.66°) |
| OKLab | oklab(50.09% 0.1532 -0.1066) |
| OKLCH | oklch(50.09% 0.187 325.2) |
| XYZ | xyz(19.4112, 10.8241, 32.5129) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.55
Barney Purple
#A00498
ΔE00 3.72
Medium Purple
#9E43A2
ΔE00 4.65
Purply
#983FB2
ΔE00 4.79
Barney
#AC1DB8
ΔE00 5.23
Ugly Purple
#A442A0
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952F9C #369C2F
analogous
#5F2F9C #952F9C #9C2F6C
triadic
#952F9C #9C952F #2F9C95
tetradic
#952F9C #9C5F2F #369C2F #2F6C9C
square
#952F9C #9C5F2F #369C2F #2F6C9C
split-complementary
#952F9C #6C9C2F #2F9C5F
monochromatic
#3B133E #68216D #952F9C #BE42C6 #CE71D4
Accessibility & contrast
On white
6.64
#952F9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#952F9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #952F9C
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952F9C | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#15559F
Deuteranopia (green-blind)
#456199
Tritanopia (blue-blind)
#984062
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #952f9c; /* rgb */ color: rgb(149, 47, 156); /* oklch */ color: oklch(50.1% 0.187 325.2);
Tailwind
colors: {
custom: {
50: '#b771ba',
500: '#952f9c',
950: '#000000',
},
}SCSS
$custom: #952f9c; $custom-light: #b771ba; $custom-dark: #000000;
JSON
{
"hex": "#952f9c",
"rgb": {
"r": 149,
"g": 47,
"b": 156
},
"hsl": {
"h": 296.147,
"s": 53.695,
"l": 39.804
},
"oklch": {
"l": 0.50088,
"c": 0.18667,
"h": 325.2
},
"luminance": 0.10823
}Semantic roles & 50–950 ramp
primary
#952F9C
secondary
#70BC6B
accent
#DD4B54
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80