#915BD2#915BD2
#915BD2 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.178 H 302.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #915BD2 |
|---|---|
| RGB | rgb(145, 91, 210) |
| HSL | hsl(267, 57%, 59%) |
| HSV | hsv(267, 57%, 82%) |
| CMYK | cmyk(31%, 56.7%, 0%, 17.6%) |
| CIE-LAB | lab(49.68, 45.76, -53.44) |
| CIE-LCH | lch(49.68, 70.36, 310.57°) |
| OKLab | oklab(58.56% 0.0949 -0.1511) |
| OKLCH | oklch(58.56% 0.178 302.1) |
| XYZ | xyz(27.0483, 18.1550, 63.0396) |
| Luminance | 0.1815 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.77
Lightish Purple
#A552E6
ΔE00 4.40
Amethyst
#9B5FC0
ΔE00 4.50
Deep Lavender
#8D5EB7
ΔE00 4.74
Lighter Purple
#A55AF4
ΔE00 5.70
Mediumpurple
#9370DB
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915BD2 #9CD25B
analogous
#5B61D2 #915BD2 #CD5BD2
triadic
#915BD2 #D2915B #5BD291
tetradic
#915BD2 #D25B61 #9CD25B #5BD2CD
square
#915BD2 #D25B61 #9CD25B #5BD2CD
split-complementary
#915BD2 #D2CD5B #61D25B
monochromatic
#55268C #7234BC #915BD2 #B18BDF #D1BBEC
Accessibility & contrast
On white
4.53
#915BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#915BD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #915BD2
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915BD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##915BD2 | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2875D6
Deuteranopia (green-blind)
#3D76CF
Tritanopia (blue-blind)
#84738E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #915bd2; /* rgb */ color: rgb(145, 91, 210); /* oklch */ color: oklch(58.6% 0.178 302.1);
Tailwind
colors: {
custom: {
50: '#b58be0',
500: '#915bd2',
950: '#000000',
},
}SCSS
$custom: #915bd2; $custom-light: #b58be0; $custom-dark: #000000;
JSON
{
"hex": "#915bd2",
"rgb": {
"r": 145,
"g": 91,
"b": 210
},
"hsl": {
"h": 267.227,
"s": 56.938,
"l": 59.02
},
"oklch": {
"l": 0.58559,
"c": 0.17839,
"h": 302.1
},
"luminance": 0.18155
}Semantic roles & 50–950 ramp
primary
#915BD2
secondary
#C7DCAD
accent
#E0489B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83