#954AB2#954AB2
#954AB2 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.6% C 0.170 H 315.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #954AB2 |
|---|---|
| RGB | rgb(149, 74, 178) |
| HSL | hsl(283, 41%, 49%) |
| HSV | hsv(283, 58%, 70%) |
| CMYK | cmyk(16.3%, 58.4%, 0%, 30.2%) |
| CIE-LAB | lab(44.94, 48.33, -42.46) |
| CIE-LCH | lch(44.94, 64.33, 318.70°) |
| OKLab | oklab(54.59% 0.121 -0.1187) |
| OKLCH | oklch(54.59% 0.17 315.5) |
| XYZ | xyz(22.8778, 14.5022, 43.7049) |
| Luminance | 0.1450 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.29
Medium Purple
#9E43A2
ΔE00 4.18
Ugly Purple
#A442A0
ΔE00 5.41
Deep Lavender
#8D5EB7
ΔE00 5.55
Darkorchid
#9932CC
ΔE00 5.78
Amethyst
#9B5FC0
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954AB2 #67B24A
analogous
#614AB2 #954AB2 #B24A9B
triadic
#954AB2 #B2954A #4AB295
tetradic
#954AB2 #B2614A #67B24A #4A9BB2
square
#954AB2 #B2614A #67B24A #4A9BB2
split-complementary
#954AB2 #9BB24A #4AB261
monochromatic
#4D265C #713887 #954AB2 #AF74C5 #C89FD7
Accessibility & contrast
On white
5.38
#954AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#954AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954AB2
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954AB2 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#4A6CAF
Tritanopia (blue-blind)
#935C77
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #954ab2; /* rgb */ color: rgb(149, 74, 178); /* oklch */ color: oklch(54.6% 0.170 315.5);
Tailwind
colors: {
custom: {
50: '#b780c9',
500: '#954ab2',
950: '#000000',
},
}SCSS
$custom: #954ab2; $custom-light: #b780c9; $custom-dark: #000000;
JSON
{
"hex": "#954ab2",
"rgb": {
"r": 149,
"g": 74,
"b": 178
},
"hsl": {
"h": 283.269,
"s": 41.27,
"l": 49.412
},
"oklch": {
"l": 0.54593,
"c": 0.16954,
"h": 315.5
},
"luminance": 0.14501
}Semantic roles & 50–950 ramp
primary
#954AB2
secondary
#A1C494
accent
#D15779
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A13
muted
#817C82