#915BCD#915BCD
#915BCD is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.172 H 303.3°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).
Color values
| HEX | #915BCD |
|---|---|
| RGB | rgb(145, 91, 205) |
| HSL | hsl(268, 53%, 58%) |
| HSV | hsv(268, 56%, 80%) |
| CMYK | cmyk(29.3%, 55.6%, 0%, 19.6%) |
| CIE-LAB | lab(49.39, 44.54, -51.06) |
| CIE-LCH | lch(49.39, 67.75, 311.10°) |
| OKLab | oklab(58.25% 0.0948 -0.1441) |
| OKLCH | oklch(58.25% 0.172 303.3) |
| XYZ | xyz(26.4351, 17.9097, 59.8100) |
| Luminance | 0.1791 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.86
Deep Lavender
#8D5EB7
ΔE00 3.95
Purpley
#8756E4
ΔE00 4.46
Lightish Purple
#A552E6
ΔE00 4.84
Lighter Purple
#A55AF4
ΔE00 6.34
Mediumpurple
#9370DB
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915BCD #97CD5B
analogous
#5B5ECD #915BCD #CA5BCD
triadic
#915BCD #CD915B #5BCD91
tetradic
#915BCD #CD5B5E #97CD5B #5BCDCA
square
#915BCD #CD5B5E #97CD5B #5BCDCA
split-complementary
#915BCD #CDCA5B #5ECD5B
monochromatic
#542985 #7237B4 #915BCD #B08ADB #D0B9EA
Accessibility & contrast
On white
4.58
#915BCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#915BCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #915BCD
4.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915BCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##915BCD | 1.00 | 4.58 | 4.58 | 4.58 |
| #FFFFFF | 4.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F74D1
Deuteranopia (green-blind)
#4275CA
Tritanopia (blue-blind)
#86718B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #915bcd; /* rgb */ color: rgb(145, 91, 205); /* oklch */ color: oklch(58.2% 0.172 303.3);
Tailwind
colors: {
custom: {
50: '#b48bdd',
500: '#915bcd',
950: '#000000',
},
}SCSS
$custom: #915bcd; $custom-light: #b48bdd; $custom-dark: #000000;
JSON
{
"hex": "#915bcd",
"rgb": {
"r": 145,
"g": 91,
"b": 205
},
"hsl": {
"h": 268.421,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.58245,
"c": 0.17245,
"h": 303.3
},
"luminance": 0.1791
}Semantic roles & 50–950 ramp
primary
#915BCD
secondary
#C3D9AB
accent
#DD4B98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83