#952397#952397
#952397 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.196 H 327.3°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #952397 |
|---|---|
| RGB | rgb(149, 35, 151) |
| HSL | hsl(299, 62%, 36%) |
| HSV | hsv(299, 77%, 59%) |
| CMYK | cmyk(1.3%, 76.8%, 0%, 40.8%) |
| CIE-LAB | lab(37.53, 59.45, -38.12) |
| CIE-LCH | lch(37.53, 70.63, 327.33°) |
| OKLab | oklab(48.74% 0.1649 -0.1058) |
| OKLCH | oklch(48.74% 0.196 327.3) |
| XYZ | xyz(18.5811, 9.8273, 30.1904) |
| Luminance | 0.0983 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.31
Warm Purple
#952E8F
ΔE00 2.40
Darkmagenta
#8B008B
ΔE00 4.15
Purple (survey)
#7E1E9C
ΔE00 5.41
Barney
#AC1DB8
ΔE00 6.00
Purple
#800080
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952397 #259723
analogous
#5B2397 #952397 #97235F
triadic
#952397 #979523 #239795
tetradic
#952397 #975B23 #259723 #235F97
square
#952397 #975B23 #259723 #235F97
split-complementary
#952397 #5F9723 #23975B
monochromatic
#330C34 #641765 #952397 #C62FC9 #D75BD9
Accessibility & contrast
On white
7.08
#952397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#952397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #952397
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952397 | 1.00 | 7.08 | 2.97 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9A
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#99375C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #952397; /* rgb */ color: rgb(149, 35, 151); /* oklch */ color: oklch(48.7% 0.196 327.3);
Tailwind
colors: {
custom: {
50: '#b86cb6',
500: '#952397',
950: '#000000',
},
}SCSS
$custom: #952397; $custom-light: #b86cb6; $custom-dark: #000000;
JSON
{
"hex": "#952397",
"rgb": {
"r": 149,
"g": 35,
"b": 151
},
"hsl": {
"h": 298.966,
"s": 62.366,
"l": 36.471
},
"oklch": {
"l": 0.48741,
"c": 0.19597,
"h": 327.3
},
"luminance": 0.09826
}Semantic roles & 50–950 ramp
primary
#952397
secondary
#5ABE58
accent
#E54245
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80