#9155CB#9155CB
#9155CB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.2% C 0.179 H 304.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9155CB |
|---|---|
| RGB | rgb(145, 85, 203) |
| HSL | hsl(271, 53%, 56%) |
| HSV | hsv(271, 58%, 80%) |
| CMYK | cmyk(28.6%, 58.1%, 0%, 20.4%) |
| CIE-LAB | lab(48.04, 47.28, -52.06) |
| CIE-LCH | lch(48.04, 70.33, 312.25°) |
| OKLab | oklab(57.22% 0.1023 -0.147) |
| OKLCH | oklch(57.22% 0.179 304.8) |
| XYZ | xyz(25.7027, 16.8287, 58.3825) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.28
Amethyst
#9B5FC0
ΔE00 4.45
Purpley
#8756E4
ΔE00 4.58
Lightish Purple
#A552E6
ΔE00 4.97
Darkorchid
#9932CC
ΔE00 6.77
Purply
#983FB2
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9155CB #8FCB55
analogous
#5655CB #9155CB #CB55CA
triadic
#9155CB #CB9155 #55CB91
tetradic
#9155CB #CB5655 #8FCB55 #55CACB
square
#9155CB #CB5655 #8FCB55 #55CACB
split-complementary
#9155CB #CACB55 #55CB56
monochromatic
#54277F #7235AE #9155CB #AF84D9 #CEB3E8
Accessibility & contrast
On white
4.81
#9155CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#9155CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9155CB
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9155CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9155CB | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#876C88
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9155cb; /* rgb */ color: rgb(145, 85, 203); /* oklch */ color: oklch(57.2% 0.179 304.8);
Tailwind
colors: {
custom: {
50: '#b587db',
500: '#9155cb',
950: '#000000',
},
}SCSS
$custom: #9155cb; $custom-light: #b587db; $custom-dark: #000000;
JSON
{
"hex": "#9155cb",
"rgb": {
"r": 145,
"g": 85,
"b": 203
},
"hsl": {
"h": 270.508,
"s": 53.153,
"l": 56.471
},
"oklch": {
"l": 0.57221,
"c": 0.17911,
"h": 304.8
},
"luminance": 0.16829
}Semantic roles & 50–950 ramp
primary
#9155CB
secondary
#BDD6A6
accent
#DD4B93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83