#915CDE#915CDE
#915CDE is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.191 H 299.3°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #915CDE |
|---|---|
| RGB | rgb(145, 92, 222) |
| HSL | hsl(264, 66%, 62%) |
| HSV | hsv(264, 59%, 87%) |
| CMYK | cmyk(34.7%, 58.6%, 0%, 12.9%) |
| CIE-LAB | lab(50.63, 48.21, -58.75) |
| CIE-LCH | lch(50.63, 76.00, 309.37°) |
| OKLab | oklab(59.49% 0.0936 -0.1667) |
| OKLCH | oklch(59.49% 0.191 299.3) |
| XYZ | xyz(28.6858, 18.9477, 71.2391) |
| Luminance | 0.1895 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.72
Lightish Purple
#A552E6
ΔE00 3.92
Lighter Purple
#A55AF4
ΔE00 4.39
Mediumpurple
#9370DB
ΔE00 5.62
Amethyst
#9B5FC0
ΔE00 6.05
Mediumslateblue
#7B68EE
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915CDE #A9DE5C
analogous
#5C68DE #915CDE #D25CDE
triadic
#915CDE #DE915C #5CDE91
tetradic
#915CDE #DE5C68 #A9DE5C #5CDED2
square
#915CDE #DE5C68 #A9DE5C #5CDED2
split-complementary
#915CDE #DED25C #68DE5C
monochromatic
#54209F #6F2BD2 #915CDE #B38FE8 #D6C2F3
Accessibility & contrast
On white
4.38
#915CDE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#915CDE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #915CDE
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915CDE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##915CDE | 1.00 | 4.38 | 4.79 | 4.79 |
| #FFFFFF | 4.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1278E2
Deuteranopia (green-blind)
#3077DB
Tritanopia (blue-blind)
#807794
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #915cde; /* rgb */ color: rgb(145, 92, 222); /* oklch */ color: oklch(59.5% 0.191 299.3);
Tailwind
colors: {
custom: {
50: '#b68ce9',
500: '#915cde',
950: '#000000',
},
}SCSS
$custom: #915cde; $custom-light: #b68ce9; $custom-dark: #000000;
JSON
{
"hex": "#915cde",
"rgb": {
"r": 145,
"g": 92,
"b": 222
},
"hsl": {
"h": 264.462,
"s": 66.327,
"l": 61.569
},
"oklch": {
"l": 0.59486,
"c": 0.19116,
"h": 299.3
},
"luminance": 0.18948
}Semantic roles & 50–950 ramp
primary
#915CDE
secondary
#CFE3B3
accent
#CE1784
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84