#954BA2#954BA2
#954BA2 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 53.8% C 0.151 H 321.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #954BA2 |
|---|---|
| RGB | rgb(149, 75, 162) |
| HSL | hsl(291, 37%, 46%) |
| HSV | hsv(291, 54%, 64%) |
| CMYK | cmyk(8%, 53.7%, 0%, 36.5%) |
| CIE-LAB | lab(44.28, 44.51, -34.05) |
| CIE-LCH | lch(44.28, 56.04, 322.58°) |
| OKLab | oklab(53.83% 0.1184 -0.0943) |
| OKLCH | oklch(53.83% 0.151 321.5) |
| XYZ | xyz(21.4314, 14.0313, 35.7548) |
| Luminance | 0.1403 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.30
Ugly Purple
#A442A0
ΔE00 3.44
Purply
#983FB2
ΔE00 4.04
Light Eggplant
#894585
ΔE00 5.90
Warm Purple
#952E8F
ΔE00 6.60
Purplish
#94568C
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954BA2 #58A24B
analogous
#6A4BA2 #954BA2 #A24B84
triadic
#954BA2 #A2954B #4BA295
tetradic
#954BA2 #A26A4B #58A24B #4B84A2
square
#954BA2 #A26A4B #58A24B #4B84A2
split-complementary
#954BA2 #84A24B #4BA26A
monochromatic
#48244E #6F3878 #954BA2 #B06EBC #C798CF
Accessibility & contrast
On white
5.52
#954BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#954BA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954BA2
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954BA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954BA2 | 1.00 | 5.52 | 3.81 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C63A5
Deuteranopia (green-blind)
#546CA0
Tritanopia (blue-blind)
#97576F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #954ba2; /* rgb */ color: rgb(149, 75, 162); /* oklch */ color: oklch(53.8% 0.151 321.5);
Tailwind
colors: {
custom: {
50: '#b680be',
500: '#954ba2',
950: '#000000',
},
}SCSS
$custom: #954ba2; $custom-light: #b680be; $custom-dark: #000000;
JSON
{
"hex": "#954ba2",
"rgb": {
"r": 149,
"g": 75,
"b": 162
},
"hsl": {
"h": 291.034,
"s": 36.709,
"l": 46.471
},
"oklch": {
"l": 0.53826,
"c": 0.15141,
"h": 321.5
},
"luminance": 0.1403
}Semantic roles & 50–950 ramp
primary
#954BA2
secondary
#94BC8D
accent
#CD5B6C
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110A12
muted
#807C81