#9054CD#9054CD
#9054CD is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.183 H 304.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9054CD |
|---|---|
| RGB | rgb(144, 84, 205) |
| HSL | hsl(270, 55%, 57%) |
| HSV | hsv(270, 59%, 80%) |
| CMYK | cmyk(29.8%, 59%, 0%, 19.6%) |
| CIE-LAB | lab(47.85, 48.05, -53.53) |
| CIE-LCH | lch(47.85, 71.93, 311.92°) |
| OKLab | oklab(57.1% 0.1023 -0.1513) |
| OKLCH | oklch(57.1% 0.183 304) |
| XYZ | xyz(25.6889, 16.6778, 59.6116) |
| Luminance | 0.1668 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.19
Deep Lavender
#8D5EB7
ΔE00 4.70
Lightish Purple
#A552E6
ΔE00 4.92
Amethyst
#9B5FC0
ΔE00 4.94
Darkorchid
#9932CC
ΔE00 6.57
Purply
#983FB2
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9054CD #91CD54
analogous
#5455CD #9054CD #CD54CD
triadic
#9054CD #CD9054 #54CD90
tetradic
#9054CD #CD5455 #91CD54 #54CDCD
square
#9054CD #CD5455 #91CD54 #54CDCD
split-complementary
#9054CD #CDCD54 #55CD54
monochromatic
#532681 #7134B0 #9054CD #AF83DB #CDB3E9
Accessibility & contrast
On white
4.84
#9054CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#9054CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9054CD
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9054CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9054CD | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B70D1
Deuteranopia (green-blind)
#3871CA
Tritanopia (blue-blind)
#856C88
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9054cd; /* rgb */ color: rgb(144, 84, 205); /* oklch */ color: oklch(57.1% 0.183 304.0);
Tailwind
colors: {
custom: {
50: '#b487dd',
500: '#9054cd',
950: '#000000',
},
}SCSS
$custom: #9054cd; $custom-light: #b487dd; $custom-dark: #000000;
JSON
{
"hex": "#9054cd",
"rgb": {
"r": 144,
"g": 84,
"b": 205
},
"hsl": {
"h": 269.752,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.57095,
"c": 0.18264,
"h": 304
},
"luminance": 0.16678
}Semantic roles & 50–950 ramp
primary
#9054CD
secondary
#BFD7A6
accent
#DE4A95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83