#915BCC#915BCC
#915BCC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.171 H 303.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #915BCC |
|---|---|
| RGB | rgb(145, 91, 204) |
| HSL | hsl(269, 53%, 58%) |
| HSV | hsv(269, 55%, 80%) |
| CMYK | cmyk(28.9%, 55.4%, 0%, 20%) |
| CIE-LAB | lab(49.33, 44.29, -50.58) |
| CIE-LCH | lch(49.33, 67.23, 311.21°) |
| OKLab | oklab(58.18% 0.0947 -0.1427) |
| OKLCH | oklch(58.18% 0.171 303.6) |
| XYZ | xyz(26.3148, 17.8616, 59.1763) |
| Luminance | 0.1786 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.74
Deep Lavender
#8D5EB7
ΔE00 3.79
Purpley
#8756E4
ΔE00 4.61
Lightish Purple
#A552E6
ΔE00 4.94
Lighter Purple
#A55AF4
ΔE00 6.47
Mediumpurple
#9370DB
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915BCC #96CC5B
analogous
#5B5DCC #915BCC #CA5BCC
triadic
#915BCC #CC915B #5BCC91
tetradic
#915BCC #CC5B5D #96CC5B #5BCCCA
square
#915BCC #CC5B5D #96CC5B #5BCCCA
split-complementary
#915BCC #CCCA5B #5DCC5B
monochromatic
#542984 #7237B2 #915BCC #B08ADB #D0B8E9
Accessibility & contrast
On white
4.59
#915BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#915BCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #915BCC
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##915BCC | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3074D0
Deuteranopia (green-blind)
#4375C9
Tritanopia (blue-blind)
#86718B
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #915bcc; /* rgb */ color: rgb(145, 91, 204); /* oklch */ color: oklch(58.2% 0.171 303.6);
Tailwind
colors: {
custom: {
50: '#b48bdc',
500: '#915bcc',
950: '#000000',
},
}SCSS
$custom: #915bcc; $custom-light: #b48bdc; $custom-dark: #000000;
JSON
{
"hex": "#915bcc",
"rgb": {
"r": 145,
"g": 91,
"b": 204
},
"hsl": {
"h": 268.673,
"s": 52.558,
"l": 57.843
},
"oklch": {
"l": 0.58183,
"c": 0.17125,
"h": 303.6
},
"luminance": 0.17862
}Semantic roles & 50–950 ramp
primary
#915BCC
secondary
#C2D8AB
accent
#DC4C97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83