#9155B4#9155B4
#9155B4 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.8% C 0.153 H 311.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #9155B4 |
|---|---|
| RGB | rgb(145, 85, 180) |
| HSL | hsl(278, 39%, 52%) |
| HSV | hsv(278, 53%, 71%) |
| CMYK | cmyk(19.4%, 52.8%, 0%, 29.4%) |
| CIE-LAB | lab(46.73, 41.93, -40.83) |
| CIE-LCH | lch(46.73, 58.52, 315.76°) |
| OKLab | oklab(55.83% 0.1013 -0.1142) |
| OKLCH | oklch(55.83% 0.153 311.6) |
| XYZ | xyz(23.1623, 15.8125, 45.0031) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.75
Amethyst
#9B5FC0
ΔE00 3.90
Purply
#983FB2
ΔE00 5.08
Royal Purple
#7851A9
ΔE00 5.41
Medium Purple
#9E43A2
ΔE00 6.16
Ugly Purple
#A442A0
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9155B4 #78B455
analogous
#6255B4 #9155B4 #B455A8
triadic
#9155B4 #B49155 #55B491
tetradic
#9155B4 #B46255 #78B455 #55A8B4
square
#9155B4 #B46255 #78B455 #55A8B4
split-complementary
#9155B4 #A8B455 #55B462
monochromatic
#4F2C63 #703E8D #9155B4 #AC7FC7 #C8AAD9
Accessibility & contrast
On white
5.05
#9155B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#9155B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9155B4
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9155B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9155B4 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C6CB7
Deuteranopia (green-blind)
#4F70B2
Tritanopia (blue-blind)
#8D657C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9155b4; /* rgb */ color: rgb(145, 85, 180); /* oklch */ color: oklch(55.8% 0.153 311.6);
Tailwind
colors: {
custom: {
50: '#b387cb',
500: '#9155b4',
950: '#000000',
},
}SCSS
$custom: #9155b4; $custom-light: #b387cb; $custom-dark: #000000;
JSON
{
"hex": "#9155b4",
"rgb": {
"r": 145,
"g": 85,
"b": 180
},
"hsl": {
"h": 277.895,
"s": 38.776,
"l": 51.961
},
"oklch": {
"l": 0.55829,
"c": 0.15262,
"h": 311.6
},
"luminance": 0.15812
}Semantic roles & 50–950 ramp
primary
#9155B4
secondary
#ADC79E
accent
#CF5984
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82