#954CA2#954CA2
#954CA2 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.0% C 0.150 H 321.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #954CA2 |
|---|---|
| RGB | rgb(149, 76, 162) |
| HSL | hsl(291, 36%, 47%) |
| HSV | hsv(291, 53%, 64%) |
| CMYK | cmyk(8%, 53.1%, 0%, 36.5%) |
| CIE-LAB | lab(44.47, 43.99, -33.75) |
| CIE-LCH | lch(44.47, 55.44, 322.51°) |
| OKLab | oklab(53.97% 0.117 -0.0934) |
| OKLCH | oklch(53.97% 0.15 321.4) |
| XYZ | xyz(21.4997, 14.1680, 35.7776) |
| Luminance | 0.1417 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.45
Ugly Purple
#A442A0
ΔE00 3.53
Purply
#983FB2
ΔE00 4.22
Light Eggplant
#894585
ΔE00 5.94
Purplish
#94568C
ΔE00 6.46
Purpleish
#98568D
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954CA2 #59A24C
analogous
#6A4CA2 #954CA2 #A24C84
triadic
#954CA2 #A2954C #4CA295
tetradic
#954CA2 #A26A4C #59A24C #4C84A2
square
#954CA2 #A26A4C #59A24C #4C84A2
split-complementary
#954CA2 #84A24C #4CA26A
monochromatic
#48254F #6F3878 #954CA2 #B070BC #C799CF
Accessibility & contrast
On white
5.48
#954CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#954CA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954CA2
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954CA2 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#965870
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #954ca2; /* rgb */ color: rgb(149, 76, 162); /* oklch */ color: oklch(54.0% 0.150 321.4);
Tailwind
colors: {
custom: {
50: '#b681be',
500: '#954ca2',
950: '#000000',
},
}SCSS
$custom: #954ca2; $custom-light: #b681be; $custom-dark: #000000;
JSON
{
"hex": "#954ca2",
"rgb": {
"r": 149,
"g": 76,
"b": 162
},
"hsl": {
"h": 290.93,
"s": 36.134,
"l": 46.667
},
"oklch": {
"l": 0.5397,
"c": 0.14976,
"h": 321.4
},
"luminance": 0.14167
}Semantic roles & 50–950 ramp
primary
#954CA2
secondary
#95BC8E
accent
#CC5C6D
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110A12
muted
#807C81