#9154C8#9154C8
#9154C8 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.9% C 0.177 H 305.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9154C8 |
|---|---|
| RGB | rgb(145, 84, 200) |
| HSL | hsl(272, 51%, 56%) |
| HSV | hsv(272, 58%, 78%) |
| CMYK | cmyk(27.5%, 58%, 0%, 21.6%) |
| CIE-LAB | lab(47.66, 47.10, -50.94) |
| CIE-LCH | lch(47.66, 69.38, 312.75°) |
| OKLab | oklab(56.89% 0.1036 -0.1437) |
| OKLCH | oklch(56.89% 0.177 305.8) |
| XYZ | xyz(25.2705, 16.5307, 56.4918) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.07
Amethyst
#9B5FC0
ΔE00 4.38
Purpley
#8756E4
ΔE00 5.07
Lightish Purple
#A552E6
ΔE00 5.34
Purply
#983FB2
ΔE00 6.31
Darkorchid
#9932CC
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9154C8 #8BC854
analogous
#5754C8 #9154C8 #C854C5
triadic
#9154C8 #C89154 #54C891
tetradic
#9154C8 #C85754 #8BC854 #54C5C8
square
#9154C8 #C85754 #8BC854 #54C5C8
split-complementary
#9154C8 #C5C854 #54C857
monochromatic
#53277A #7236A9 #9154C8 #AF82D7 #CDB1E6
Accessibility & contrast
On white
4.88
#9154C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#9154C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9154C8
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9154C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9154C8 | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#256FCC
Deuteranopia (green-blind)
#3E71C5
Tritanopia (blue-blind)
#886A86
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9154c8; /* rgb */ color: rgb(145, 84, 200); /* oklch */ color: oklch(56.9% 0.177 305.8);
Tailwind
colors: {
custom: {
50: '#b587d9',
500: '#9154c8',
950: '#000000',
},
}SCSS
$custom: #9154c8; $custom-light: #b587d9; $custom-dark: #000000;
JSON
{
"hex": "#9154c8",
"rgb": {
"r": 145,
"g": 84,
"b": 200
},
"hsl": {
"h": 271.552,
"s": 51.327,
"l": 55.686
},
"oklch": {
"l": 0.56885,
"c": 0.17715,
"h": 305.8
},
"luminance": 0.16531
}Semantic roles & 50–950 ramp
primary
#9154C8
secondary
#BBD4A4
accent
#DB4D90
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83