#915CD6#915CD6
#915CD6 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.0% C 0.182 H 301.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #915CD6 |
|---|---|
| RGB | rgb(145, 92, 214) |
| HSL | hsl(266, 60%, 60%) |
| HSV | hsv(266, 57%, 84%) |
| CMYK | cmyk(32.2%, 57%, 0%, 16.1%) |
| CIE-LAB | lab(50.13, 46.21, -55.01) |
| CIE-LCH | lch(50.13, 71.84, 310.03°) |
| OKLab | oklab(58.97% 0.0937 -0.1557) |
| OKLCH | oklch(58.97% 0.182 301) |
| XYZ | xyz(27.6389, 18.5289, 65.7256) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.39
Lightish Purple
#A552E6
ΔE00 4.20
Amethyst
#9B5FC0
ΔE00 4.97
Lighter Purple
#A55AF4
ΔE00 5.19
Deep Lavender
#8D5EB7
ΔE00 5.33
Mediumpurple
#9370DB
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915CD6 #A1D65C
analogous
#5C64D6 #915CD6 #CE5CD6
triadic
#915CD6 #D6915C #5CD691
tetradic
#915CD6 #D65C64 #A1D65C #5CD6CE
square
#915CD6 #D65C64 #A1D65C #5CD6CE
split-complementary
#915CD6 #D6CE5C #64D65C
monochromatic
#552593 #7131C4 #915CD6 #B28DE2 #D3BEEF
Accessibility & contrast
On white
4.46
#915CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#915CD6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #915CD6
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915CD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##915CD6 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2477DA
Deuteranopia (green-blind)
#3A77D3
Tritanopia (blue-blind)
#837590
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #915cd6; /* rgb */ color: rgb(145, 92, 214); /* oklch */ color: oklch(59.0% 0.182 301.0);
Tailwind
colors: {
custom: {
50: '#b58ce3',
500: '#915cd6',
950: '#000000',
},
}SCSS
$custom: #915cd6; $custom-light: #b58ce3; $custom-dark: #000000;
JSON
{
"hex": "#915cd6",
"rgb": {
"r": 145,
"g": 92,
"b": 214
},
"hsl": {
"h": 266.066,
"s": 59.804,
"l": 60
},
"oklch": {
"l": 0.58965,
"c": 0.18167,
"h": 301
},
"luminance": 0.18529
}Semantic roles & 50–950 ramp
primary
#915CD6
secondary
#CADEAF
accent
#E3459E
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C15
muted
#817D84