#9155C7#9155C7
#9155C7 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.174 H 305.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #9155C7 |
|---|---|
| RGB | rgb(145, 85, 199) |
| HSL | hsl(272, 50%, 56%) |
| HSV | hsv(272, 57%, 78%) |
| CMYK | cmyk(27.1%, 57.3%, 0%, 22%) |
| CIE-LAB | lab(47.80, 46.33, -50.14) |
| CIE-LCH | lch(47.80, 68.27, 312.74°) |
| OKLab | oklab(56.97% 0.1023 -0.1414) |
| OKLCH | oklch(56.97% 0.175 305.9) |
| XYZ | xyz(25.2322, 16.6405, 55.9044) |
| Luminance | 0.1664 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.78
Amethyst
#9B5FC0
ΔE00 4.12
Purpley
#8756E4
ΔE00 5.22
Lightish Purple
#A552E6
ΔE00 5.43
Purply
#983FB2
ΔE00 6.39
Royal Purple
#7851A9
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9155C7 #8BC755
analogous
#5855C7 #9155C7 #C755C4
triadic
#9155C7 #C79155 #55C791
tetradic
#9155C7 #C75855 #8BC755 #55C4C7
square
#9155C7 #C75855 #8BC755 #55C4C7
split-complementary
#9155C7 #C4C755 #55C758
monochromatic
#53287A #7237A8 #9155C7 #AF83D6 #CDB1E5
Accessibility & contrast
On white
4.85
#9155C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#9155C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9155C7
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9155C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9155C7 | 1.00 | 4.85 | 4.33 | 4.85 |
| #FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2970CB
Deuteranopia (green-blind)
#4072C4
Tritanopia (blue-blind)
#886B86
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9155c7; /* rgb */ color: rgb(145, 85, 199); /* oklch */ color: oklch(57.0% 0.174 305.9);
Tailwind
colors: {
custom: {
50: '#b487d8',
500: '#9155c7',
950: '#000000',
},
}SCSS
$custom: #9155c7; $custom-light: #b487d8; $custom-dark: #000000;
JSON
{
"hex": "#9155c7",
"rgb": {
"r": 145,
"g": 85,
"b": 199
},
"hsl": {
"h": 271.579,
"s": 50.442,
"l": 55.686
},
"oklch": {
"l": 0.56969,
"c": 0.1745,
"h": 305.9
},
"luminance": 0.1664
}Semantic roles & 50–950 ramp
primary
#9155C7
secondary
#BBD4A4
accent
#DA4E90
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B15
muted
#807C83