#915CD9#915CD9
#915CD9 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.2% C 0.185 H 300.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #915CD9 |
|---|---|
| RGB | rgb(145, 92, 217) |
| HSL | hsl(265, 62%, 61%) |
| HSV | hsv(265, 58%, 85%) |
| CMYK | cmyk(33.2%, 57.6%, 0%, 14.9%) |
| CIE-LAB | lab(50.31, 46.95, -56.42) |
| CIE-LCH | lch(50.31, 73.40, 309.77°) |
| OKLab | oklab(59.16% 0.0937 -0.1598) |
| OKLCH | oklch(59.16% 0.185 300.4) |
| XYZ | xyz(28.0256, 18.6836, 67.7620) |
| Luminance | 0.1868 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.09
Lightish Purple
#A552E6
ΔE00 4.06
Lighter Purple
#A55AF4
ΔE00 4.87
Amethyst
#9B5FC0
ΔE00 5.38
Mediumpurple
#9370DB
ΔE00 5.68
Deep Lavender
#8D5EB7
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915CD9 #A4D95C
analogous
#5C65D9 #915CD9 #CF5CD9
triadic
#915CD9 #D9915C #5CD991
tetradic
#915CD9 #D95C65 #A4D95C #5CD9CF
square
#915CD9 #D95C65 #A4D95C #5CD9CF
split-complementary
#915CD9 #D9CF5C #65D95C
monochromatic
#542397 #702FC9 #915CD9 #B28EE5 #D4BFF0
Accessibility & contrast
On white
4.43
#915CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#915CD9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #915CD9
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##915CD9 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F77DD
Deuteranopia (green-blind)
#3777D6
Tritanopia (blue-blind)
#827692
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #915cd9; /* rgb */ color: rgb(145, 92, 217); /* oklch */ color: oklch(59.2% 0.185 300.4);
Tailwind
colors: {
custom: {
50: '#b58ce5',
500: '#915cd9',
950: '#000000',
},
}SCSS
$custom: #915cd9; $custom-light: #b58ce5; $custom-dark: #000000;
JSON
{
"hex": "#915cd9",
"rgb": {
"r": 145,
"g": 92,
"b": 217
},
"hsl": {
"h": 265.44,
"s": 62.189,
"l": 60.588
},
"oklch": {
"l": 0.59158,
"c": 0.18523,
"h": 300.4
},
"luminance": 0.18684
}Semantic roles & 50–950 ramp
primary
#915CD9
secondary
#CCE0B1
accent
#CA1C80
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84