#9154CB#9154CB
#9154CB is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.181 H 305.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #9154CB |
|---|---|
| RGB | rgb(145, 84, 203) |
| HSL | hsl(271, 53%, 56%) |
| HSV | hsv(271, 59%, 80%) |
| CMYK | cmyk(28.6%, 58.6%, 0%, 20.4%) |
| CIE-LAB | lab(47.84, 47.81, -52.38) |
| CIE-LCH | lch(47.84, 70.92, 312.39°) |
| OKLab | oklab(57.08% 0.1036 -0.1479) |
| OKLCH | oklch(57.08% 0.181 305) |
| XYZ | xyz(25.6245, 16.6723, 58.3565) |
| Luminance | 0.1667 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.42
Purpley
#8756E4
ΔE00 4.61
Amethyst
#9B5FC0
ΔE00 4.62
Lightish Purple
#A552E6
ΔE00 5.00
Darkorchid
#9932CC
ΔE00 6.52
Purply
#983FB2
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9154CB #8ECB54
analogous
#5654CB #9154CB #CB54CA
triadic
#9154CB #CB9154 #54CB91
tetradic
#9154CB #CB5654 #8ECB54 #54CACB
square
#9154CB #CB5654 #8ECB54 #54CACB
split-complementary
#9154CB #CACB54 #54CB56
monochromatic
#53267E #7235AD #9154CB #AF83D9 #CDB2E8
Accessibility & contrast
On white
4.84
#9154CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#9154CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9154CB
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9154CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9154CB | 1.00 | 4.84 | 4.33 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2070CF
Deuteranopia (green-blind)
#3B72C8
Tritanopia (blue-blind)
#876B87
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9154cb; /* rgb */ color: rgb(145, 84, 203); /* oklch */ color: oklch(57.1% 0.181 305.0);
Tailwind
colors: {
custom: {
50: '#b587db',
500: '#9154cb',
950: '#000000',
},
}SCSS
$custom: #9154cb; $custom-light: #b587db; $custom-dark: #000000;
JSON
{
"hex": "#9154cb",
"rgb": {
"r": 145,
"g": 84,
"b": 203
},
"hsl": {
"h": 270.756,
"s": 53.363,
"l": 56.275
},
"oklch": {
"l": 0.57076,
"c": 0.18059,
"h": 305
},
"luminance": 0.16672
}Semantic roles & 50–950 ramp
primary
#9154CB
secondary
#BDD6A5
accent
#DD4B92
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83