#915BB0#915BB0
#915BB0 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.138 H 312.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #915BB0 |
|---|---|
| RGB | rgb(145, 91, 176) |
| HSL | hsl(278, 35%, 52%) |
| HSV | hsv(278, 48%, 69%) |
| CMYK | cmyk(17.6%, 48.3%, 0%, 31%) |
| CIE-LAB | lab(47.80, 37.72, -36.80) |
| CIE-LCH | lch(47.80, 52.69, 315.71°) |
| OKLab | oklab(56.56% 0.0924 -0.1025) |
| OKLCH | oklch(56.56% 0.138 312) |
| XYZ | xyz(23.2532, 16.6370, 43.0522) |
| Luminance | 0.1664 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.04
Amethyst
#9B5FC0
ΔE00 3.38
Deep Lilac
#966EBD
ΔE00 6.12
Royal Purple
#7851A9
ΔE00 6.15
Purply
#983FB2
ΔE00 6.75
Medium Purple
#9E43A2
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915BB0 #7AB05B
analogous
#675BB0 #915BB0 #B05BA4
triadic
#915BB0 #B0915B #5BB091
tetradic
#915BB0 #B0675B #7AB05B #5BA4B0
square
#915BB0 #B0675B #7AB05B #5BA4B0
split-complementary
#915BB0 #A4B05B #5BB067
monochromatic
#4F2F62 #71438B #915BB0 #AD84C4 #C8AED8
Accessibility & contrast
On white
4.85
#915BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.33
#915BB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #915BB0
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##915BB0 | 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)
#486FB3
Deuteranopia (green-blind)
#5773AE
Tritanopia (blue-blind)
#8E687D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #915bb0; /* rgb */ color: rgb(145, 91, 176); /* oklch */ color: oklch(56.6% 0.138 312.0);
Tailwind
colors: {
custom: {
50: '#b38bc8',
500: '#915bb0',
950: '#000000',
},
}SCSS
$custom: #915bb0; $custom-light: #b38bc8; $custom-dark: #000000;
JSON
{
"hex": "#915bb0",
"rgb": {
"r": 145,
"g": 91,
"b": 176
},
"hsl": {
"h": 278.118,
"s": 34.979,
"l": 52.353
},
"oklch": {
"l": 0.56556,
"c": 0.13795,
"h": 312
},
"luminance": 0.16637
}Semantic roles & 50–950 ramp
primary
#915BB0
secondary
#AEC6A1
accent
#CB5D85
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82