#9155C9#9155C9
#9155C9 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.177 H 305.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9155C9 |
|---|---|
| RGB | rgb(145, 85, 201) |
| HSL | hsl(271, 52%, 56%) |
| HSV | hsv(271, 58%, 79%) |
| CMYK | cmyk(27.9%, 57.7%, 0%, 21.2%) |
| CIE-LAB | lab(47.92, 46.81, -51.10) |
| CIE-LCH | lch(47.92, 69.30, 312.49°) |
| OKLab | oklab(57.1% 0.1023 -0.1442) |
| OKLCH | oklch(57.1% 0.177 305.4) |
| XYZ | xyz(25.4659, 16.7340, 57.1354) |
| Luminance | 0.1673 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.03
Amethyst
#9B5FC0
ΔE00 4.28
Purpley
#8756E4
ΔE00 4.90
Lightish Purple
#A552E6
ΔE00 5.19
Purply
#983FB2
ΔE00 6.61
Royal Purple
#7851A9
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9155C9 #8DC955
analogous
#5755C9 #9155C9 #C955C7
triadic
#9155C9 #C99155 #55C991
tetradic
#9155C9 #C95755 #8DC955 #55C7C9
square
#9155C9 #C95755 #8DC955 #55C7C9
split-complementary
#9155C9 #C7C955 #55C957
monochromatic
#53277C #7236AB #9155C9 #AF83D8 #CDB2E7
Accessibility & contrast
On white
4.83
#9155C9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#9155C9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9155C9
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9155C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9155C9 | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2670CD
Deuteranopia (green-blind)
#3F72C6
Tritanopia (blue-blind)
#876C87
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9155c9; /* rgb */ color: rgb(145, 85, 201); /* oklch */ color: oklch(57.1% 0.177 305.4);
Tailwind
colors: {
custom: {
50: '#b587da',
500: '#9155c9',
950: '#000000',
},
}SCSS
$custom: #9155c9; $custom-light: #b587da; $custom-dark: #000000;
JSON
{
"hex": "#9155c9",
"rgb": {
"r": 145,
"g": 85,
"b": 201
},
"hsl": {
"h": 271.034,
"s": 51.786,
"l": 56.078
},
"oklch": {
"l": 0.57095,
"c": 0.17681,
"h": 305.4
},
"luminance": 0.16734
}Semantic roles & 50–950 ramp
primary
#9155C9
secondary
#BCD5A5
accent
#DB4D91
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83