#915CD2#915CD2
#915CD2 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.177 H 301.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #915CD2 |
|---|---|
| RGB | rgb(145, 92, 210) |
| HSL | hsl(267, 57%, 59%) |
| HSV | hsv(267, 56%, 82%) |
| CMYK | cmyk(31%, 56.2%, 0%, 17.6%) |
| CIE-LAB | lab(49.89, 45.22, -53.11) |
| CIE-LCH | lch(49.89, 69.75, 310.41°) |
| OKLab | oklab(58.71% 0.0936 -0.1501) |
| OKLCH | oklch(58.71% 0.177 301.9) |
| XYZ | xyz(27.1344, 18.3271, 63.0682) |
| Luminance | 0.1833 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.87
Amethyst
#9B5FC0
ΔE00 4.43
Lightish Purple
#A552E6
ΔE00 4.47
Deep Lavender
#8D5EB7
ΔE00 4.70
Lighter Purple
#A55AF4
ΔE00 5.66
Mediumpurple
#9370DB
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915CD2 #9DD25C
analogous
#5C62D2 #915CD2 #CC5CD2
triadic
#915CD2 #D2915C #5CD291
tetradic
#915CD2 #D25C62 #9DD25C #5CD2CC
square
#915CD2 #D25C62 #9DD25C #5CD2CC
split-complementary
#915CD2 #D2CC5C #62D25C
monochromatic
#55278D #7134BD #915CD2 #B18CDF #D2BCEC
Accessibility & contrast
On white
4.50
#915CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#915CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #915CD2
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##915CD2 | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B76D6
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#84738E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #915cd2; /* rgb */ color: rgb(145, 92, 210); /* oklch */ color: oklch(58.7% 0.177 301.9);
Tailwind
colors: {
custom: {
50: '#b58ce0',
500: '#915cd2',
950: '#000000',
},
}SCSS
$custom: #915cd2; $custom-light: #b58ce0; $custom-dark: #000000;
JSON
{
"hex": "#915cd2",
"rgb": {
"r": 145,
"g": 92,
"b": 210
},
"hsl": {
"h": 266.949,
"s": 56.731,
"l": 59.216
},
"oklch": {
"l": 0.58711,
"c": 0.1769,
"h": 301.9
},
"luminance": 0.18327
}Semantic roles & 50–950 ramp
primary
#915CD2
secondary
#C7DCAE
accent
#E0489C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83