#9155B1#9155B1
#9155B1 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.149 H 312.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #9155B1 |
|---|---|
| RGB | rgb(145, 85, 177) |
| HSL | hsl(279, 37%, 51%) |
| HSV | hsv(279, 52%, 69%) |
| CMYK | cmyk(18.1%, 52%, 0%, 30.6%) |
| CIE-LAB | lab(46.57, 41.26, -39.33) |
| CIE-LCH | lch(46.57, 57.00, 316.37°) |
| OKLab | oklab(55.66% 0.101 -0.1098) |
| OKLCH | oklch(55.66% 0.149 312.6) |
| XYZ | xyz(22.8600, 15.6916, 43.4110) |
| Luminance | 0.1569 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.95
Amethyst
#9B5FC0
ΔE00 4.14
Purply
#983FB2
ΔE00 5.07
Royal Purple
#7851A9
ΔE00 5.45
Medium Purple
#9E43A2
ΔE00 5.80
Ugly Purple
#A442A0
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9155B1 #75B155
analogous
#6355B1 #9155B1 #B155A3
triadic
#9155B1 #B19155 #55B191
tetradic
#9155B1 #B16355 #75B155 #55A3B1
square
#9155B1 #B16355 #75B155 #55A3B1
split-complementary
#9155B1 #A3B155 #55B163
monochromatic
#4E2C60 #703F8A #9155B1 #AC7FC4 #C7A9D7
Accessibility & contrast
On white
5.07
#9155B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#9155B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9155B1
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9155B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9155B1 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E6BB4
Deuteranopia (green-blind)
#5170AF
Tritanopia (blue-blind)
#8E647B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #9155b1; /* rgb */ color: rgb(145, 85, 177); /* oklch */ color: oklch(55.7% 0.149 312.6);
Tailwind
colors: {
custom: {
50: '#b387c9',
500: '#9155b1',
950: '#000000',
},
}SCSS
$custom: #9155b1; $custom-light: #b387c9; $custom-dark: #000000;
JSON
{
"hex": "#9155b1",
"rgb": {
"r": 145,
"g": 85,
"b": 177
},
"hsl": {
"h": 279.13,
"s": 37.097,
"l": 51.373
},
"oklch": {
"l": 0.55659,
"c": 0.14918,
"h": 312.6
},
"luminance": 0.15691
}Semantic roles & 50–950 ramp
primary
#9155B1
secondary
#ABC59D
accent
#CD5B82
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82