#952CA5#952CA5
#952CA5 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.198 H 322.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #952CA5 |
|---|---|
| RGB | rgb(149, 44, 165) |
| HSL | hsl(292, 58%, 41%) |
| HSV | hsv(292, 73%, 65%) |
| CMYK | cmyk(9.7%, 73.3%, 0%, 35.3%) |
| CIE-LAB | lab(39.43, 58.91, -43.55) |
| CIE-LCH | lch(39.43, 73.26, 323.53°) |
| OKLab | oklab(50.36% 0.156 -0.1217) |
| OKLCH | oklch(50.36% 0.198 322) |
| XYZ | xyz(20.0859, 10.9087, 36.6376) |
| Luminance | 0.1091 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.06
Barney Purple
#A00498
ΔE00 4.24
Warm Purple
#952E8F
ΔE00 4.25
Barney
#AC1DB8
ΔE00 4.35
Medium Purple
#9E43A2
ΔE00 5.32
Purple (survey)
#7E1E9C
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#952CA5 #3CA52C
analogous
#582CA5 #952CA5 #A52C78
triadic
#952CA5 #A5952C #2CA595
tetradic
#952CA5 #A5582C #3CA52C #2C78A5
square
#952CA5 #A5582C #3CA52C #2C78A5
split-complementary
#952CA5 #78A52C #2CA558
monochromatic
#3E1244 #691F75 #952CA5 #BA42CD #CC72D9
Accessibility & contrast
On white
6.60
#952CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#952CA5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #952CA5
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##952CA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##952CA5 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#3D61A2
Tritanopia (blue-blind)
#974366
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #952ca5; /* rgb */ color: rgb(149, 44, 165); /* oklch */ color: oklch(50.4% 0.198 322.0);
Tailwind
colors: {
custom: {
50: '#b870c0',
500: '#952ca5',
950: '#000000',
},
}SCSS
$custom: #952ca5; $custom-light: #b870c0; $custom-dark: #000000;
JSON
{
"hex": "#952ca5",
"rgb": {
"r": 149,
"g": 44,
"b": 165
},
"hsl": {
"h": 292.066,
"s": 57.895,
"l": 40.98
},
"oklch": {
"l": 0.50363,
"c": 0.19786,
"h": 322
},
"luminance": 0.10908
}Semantic roles & 50–950 ramp
primary
#952CA5
secondary
#77C16C
accent
#E1475B
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#120812
muted
#817B81