#9154CF#9154CF
#9154CF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.3% C 0.185 H 304.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9154CF |
|---|---|
| RGB | rgb(145, 84, 207) |
| HSL | hsl(270, 56%, 57%) |
| HSV | hsv(270, 59%, 81%) |
| CMYK | cmyk(30%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(48.09, 48.77, -54.28) |
| CIE-LCH | lch(48.09, 72.97, 311.94°) |
| OKLab | oklab(57.33% 0.1035 -0.1535) |
| OKLCH | oklch(57.33% 0.185 304) |
| XYZ | xyz(26.1073, 16.8655, 60.8994) |
| Luminance | 0.1686 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.01
Lightish Purple
#A552E6
ΔE00 4.60
Deep Lavender
#8D5EB7
ΔE00 4.92
Amethyst
#9B5FC0
ΔE00 4.98
Darkorchid
#9932CC
ΔE00 6.61
Lighter Purple
#A55AF4
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9154CF #92CF54
analogous
#5455CF #9154CF #CE54CF
triadic
#9154CF #CF9154 #54CF91
tetradic
#9154CF #CF5455 #92CF54 #54CFCE
square
#9154CF #CF5455 #92CF54 #54CFCE
split-complementary
#9154CF #CFCE54 #55CF54
monochromatic
#542584 #7232B3 #9154CF #B084DC #CEB4EA
Accessibility & contrast
On white
4.80
#9154CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#9154CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9154CF
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9154CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9154CF | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1771D3
Deuteranopia (green-blind)
#3772CC
Tritanopia (blue-blind)
#866D8A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9154cf; /* rgb */ color: rgb(145, 84, 207); /* oklch */ color: oklch(57.3% 0.185 304.0);
Tailwind
colors: {
custom: {
50: '#b587de',
500: '#9154cf',
950: '#000000',
},
}SCSS
$custom: #9154cf; $custom-light: #b587de; $custom-dark: #000000;
JSON
{
"hex": "#9154cf",
"rgb": {
"r": 145,
"g": 84,
"b": 207
},
"hsl": {
"h": 269.756,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.57334,
"c": 0.18517,
"h": 304
},
"luminance": 0.16865
}Semantic roles & 50–950 ramp
primary
#9154CF
secondary
#C0D8A6
accent
#DF4895
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83