#915BB2#915BB2
#915BB2 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.7% C 0.140 H 311.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #915BB2 |
|---|---|
| RGB | rgb(145, 91, 178) |
| HSL | hsl(277, 36%, 53%) |
| HSV | hsv(277, 49%, 70%) |
| CMYK | cmyk(18.5%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(47.90, 38.17, -37.80) |
| CIE-LCH | lch(47.90, 53.72, 315.28°) |
| OKLab | oklab(56.67% 0.0926 -0.1054) |
| OKLCH | oklch(56.67% 0.14 311.3) |
| XYZ | xyz(23.4526, 16.7167, 44.1020) |
| Luminance | 0.1672 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.73
Amethyst
#9B5FC0
ΔE00 3.12
Deep Lilac
#966EBD
ΔE00 6.03
Royal Purple
#7851A9
ΔE00 6.09
Purply
#983FB2
ΔE00 6.72
Medium Purple
#9E43A2
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915BB2 #7CB25B
analogous
#655BB2 #915BB2 #B25BA8
triadic
#915BB2 #B2915B #5BB291
tetradic
#915BB2 #B2655B #7CB25B #5BA8B2
square
#915BB2 #B2655B #7CB25B #5BA8B2
split-complementary
#915BB2 #A8B25B #5BB265
monochromatic
#502F64 #71428D #915BB2 #AD85C6 #C9AED9
Accessibility & contrast
On white
4.84
#915BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#915BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #915BB2
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##915BB2 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#8D697E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #915bb2; /* rgb */ color: rgb(145, 91, 178); /* oklch */ color: oklch(56.7% 0.140 311.3);
Tailwind
colors: {
custom: {
50: '#b38bc9',
500: '#915bb2',
950: '#000000',
},
}SCSS
$custom: #915bb2; $custom-light: #b38bc9; $custom-dark: #000000;
JSON
{
"hex": "#915bb2",
"rgb": {
"r": 145,
"g": 91,
"b": 178
},
"hsl": {
"h": 277.241,
"s": 36.1,
"l": 52.745
},
"oklch": {
"l": 0.56665,
"c": 0.14031,
"h": 311.3
},
"luminance": 0.16716
}Semantic roles & 50–950 ramp
primary
#915BB2
secondary
#B0C7A2
accent
#CC5C86
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82