#954ABC#954ABC
#954ABC is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.2% C 0.180 H 312.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #954ABC |
|---|---|
| RGB | rgb(149, 74, 188) |
| HSL | hsl(279, 46%, 51%) |
| HSV | hsv(279, 61%, 74%) |
| CMYK | cmyk(20.7%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(45.52, 50.49, -47.39) |
| CIE-LCH | lch(45.52, 69.24, 316.82°) |
| OKLab | oklab(55.2% 0.1212 -0.1331) |
| OKLCH | oklch(55.2% 0.18 312.3) |
| XYZ | xyz(23.9187, 14.9186, 49.1868) |
| Luminance | 0.1492 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.97
Darkorchid
#9932CC
ΔE00 4.70
Deep Lavender
#8D5EB7
ΔE00 5.38
Amethyst
#9B5FC0
ΔE00 5.75
Medium Purple
#9E43A2
ΔE00 5.79
Royal Purple
#7851A9
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#954ABC #71BC4A
analogous
#5C4ABC #954ABC #BC4AAA
triadic
#954ABC #BC954A #4ABC95
tetradic
#954ABC #BC5C4A #71BC4A #4AAABC
square
#954ABC #BC5C4A #71BC4A #4AAABC
split-complementary
#954ABC #AABC4A #4ABC5C
monochromatic
#502666 #733693 #954ABC #AF77CD #C9A3DD
Accessibility & contrast
On white
5.27
#954ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#954ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #954ABC
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##954ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##954ABC | 1.00 | 5.27 | 3.98 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2068C0
Deuteranopia (green-blind)
#426DB9
Tritanopia (blue-blind)
#915F7C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #954abc; /* rgb */ color: rgb(149, 74, 188); /* oklch */ color: oklch(55.2% 0.180 312.3);
Tailwind
colors: {
custom: {
50: '#b781d1',
500: '#954abc',
950: '#000000',
},
}SCSS
$custom: #954abc; $custom-light: #b781d1; $custom-dark: #000000;
JSON
{
"hex": "#954abc",
"rgb": {
"r": 149,
"g": 74,
"b": 188
},
"hsl": {
"h": 279.474,
"s": 45.968,
"l": 51.373
},
"oklch": {
"l": 0.55201,
"c": 0.18007,
"h": 312.3
},
"luminance": 0.14918
}Semantic roles & 50–950 ramp
primary
#954ABC
secondary
#A9CA98
accent
#D6527F
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82