#954AC8#954AC8
#954AC8 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.0% C 0.193 H 308.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #954AC8 |
|---|---|
| RGB | rgb(149, 74, 200) |
| HSL | hsl(276, 53%, 54%) |
| HSV | hsv(276, 63%, 78%) |
| CMYK | cmyk(25.5%, 63%, 0%, 21.6%) |
| CIE-LAB | lab(46.25, 53.15, -53.18) |
| CIE-LCH | lch(46.25, 75.19, 314.99°) |
| OKLab | oklab(55.97% 0.121 -0.1501) |
| OKLCH | oklch(55.97% 0.193 308.9) |
| XYZ | xyz(25.2665, 15.4577, 56.2850) |
| Luminance | 0.1546 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.18
Purply
#983FB2
ΔE00 4.55
Lightish Purple
#A552E6
ΔE00 5.81
Deep Lavender
#8D5EB7
ΔE00 5.85
Amethyst
#9B5FC0
ΔE00 5.94
Purpley
#8756E4
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954AC8 #7DC84A
analogous
#564AC8 #954AC8 #C84ABC
triadic
#954AC8 #C8954A #4AC895
tetradic
#954AC8 #C8564A #7DC84A #4ABCC8
square
#954AC8 #C8564A #7DC84A #4ABCC8
split-complementary
#954AC8 #BCC84A #4AC856
monochromatic
#542374 #7532A3 #954AC8 #B079D6 #CCA8E5
Accessibility & contrast
On white
5.13
#954AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#954AC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954AC8
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954AC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954AC8 | 1.00 | 5.13 | 4.09 | 5.13 |
| #FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#376FC5
Tritanopia (blue-blind)
#8E6382
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #954ac8; /* rgb */ color: rgb(149, 74, 200); /* oklch */ color: oklch(56.0% 0.193 308.9);
Tailwind
colors: {
custom: {
50: '#b881d9',
500: '#954ac8',
950: '#000000',
},
}SCSS
$custom: #954ac8; $custom-light: #b881d9; $custom-dark: #000000;
JSON
{
"hex": "#954ac8",
"rgb": {
"r": 149,
"g": 74,
"b": 200
},
"hsl": {
"h": 275.714,
"s": 53.39,
"l": 53.725
},
"oklch": {
"l": 0.55967,
"c": 0.19279,
"h": 308.9
},
"luminance": 0.15457
}Semantic roles & 50–950 ramp
primary
#954AC8
secondary
#B2D29C
accent
#DD4B86
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83