#952A9C#952A9C
#952A9C is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.6% C 0.193 H 325.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #952A9C |
|---|---|
| RGB | rgb(149, 42, 156) |
| HSL | hsl(296, 58%, 39%) |
| HSV | hsv(296, 73%, 61%) |
| CMYK | cmyk(4.5%, 73.1%, 0%, 38.8%) |
| CIE-LAB | lab(38.63, 58.00, -39.40) |
| CIE-LCH | lch(38.63, 70.12, 325.81°) |
| OKLab | oklab(49.62% 0.1583 -0.1096) |
| OKLCH | oklch(49.62% 0.193 325.3) |
| XYZ | xyz(19.2227, 10.4470, 32.4500) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.71
Barney Purple
#A00498
ΔE00 3.17
Darkmagenta
#8B008B
ΔE00 5.24
Barney
#AC1DB8
ΔE00 5.24
Purply
#983FB2
ΔE00 5.25
Medium Purple
#9E43A2
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952A9C #319C2A
analogous
#5C2A9C #952A9C #9C2A6A
triadic
#952A9C #9C952A #2A9C95
tetradic
#952A9C #9C5C2A #319C2A #2A6A9C
square
#952A9C #9C5C2A #319C2A #2A6A9C
split-complementary
#952A9C #6A9C2A #2A9C5C
monochromatic
#39103C #671D6C #952A9C #C139CA #D06AD7
Accessibility & contrast
On white
6.80
#952A9C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#952A9C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #952A9C
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952A9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952A9C | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#07539F
Deuteranopia (green-blind)
#425F99
Tritanopia (blue-blind)
#983D61
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #952a9c; /* rgb */ color: rgb(149, 42, 156); /* oklch */ color: oklch(49.6% 0.193 325.3);
Tailwind
colors: {
custom: {
50: '#b86fba',
500: '#952a9c',
950: '#000000',
},
}SCSS
$custom: #952a9c; $custom-light: #b86fba; $custom-dark: #000000;
JSON
{
"hex": "#952a9c",
"rgb": {
"r": 149,
"g": 42,
"b": 156
},
"hsl": {
"h": 296.316,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.49622,
"c": 0.19257,
"h": 325.3
},
"luminance": 0.10446
}Semantic roles & 50–950 ramp
primary
#952A9C
secondary
#6ABD65
accent
#E14750
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#120811
muted
#817B80