#915FCE#915FCE
#915FCE is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.9% C 0.168 H 302.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #915FCE |
|---|---|
| RGB | rgb(145, 95, 206) |
| HSL | hsl(267, 53%, 59%) |
| HSV | hsv(267, 54%, 81%) |
| CMYK | cmyk(29.6%, 53.9%, 0%, 19.2%) |
| CIE-LAB | lab(50.29, 42.59, -50.19) |
| CIE-LCH | lch(50.29, 65.82, 310.31°) |
| OKLab | oklab(58.93% 0.0896 -0.1416) |
| OKLCH | oklch(58.93% 0.168 302.3) |
| XYZ | xyz(26.9073, 18.6604, 60.5648) |
| Luminance | 0.1866 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.78
Deep Lavender
#8D5EB7
ΔE00 4.04
Purpley
#8756E4
ΔE00 4.76
Lightish Purple
#A552E6
ΔE00 5.11
Mediumpurple
#9370DB
ΔE00 5.36
Deep Lilac
#966EBD
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915FCE #9CCE5F
analogous
#5F65CE #915FCE #C95FCE
triadic
#915FCE #CE915F #5FCE91
tetradic
#915FCE #CE5F65 #9CCE5F #5FCEC9
square
#915FCE #CE5F65 #9CCE5F #5FCEC9
split-complementary
#915FCE #CEC95F #65CE5F
monochromatic
#552A89 #7238B8 #915FCE #B18EDC #D1BDEB
Accessibility & contrast
On white
4.44
#915FCE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#915FCE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #915FCE
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915FCE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##915FCE | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3677D2
Deuteranopia (green-blind)
#4677CB
Tritanopia (blue-blind)
#85748D
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #915fce; /* rgb */ color: rgb(145, 95, 206); /* oklch */ color: oklch(58.9% 0.168 302.3);
Tailwind
colors: {
custom: {
50: '#b48edd',
500: '#915fce',
950: '#000000',
},
}SCSS
$custom: #915fce; $custom-light: #b48edd; $custom-dark: #000000;
JSON
{
"hex": "#915fce",
"rgb": {
"r": 145,
"g": 95,
"b": 206
},
"hsl": {
"h": 267.027,
"s": 53.11,
"l": 59.02
},
"oklch": {
"l": 0.58927,
"c": 0.16755,
"h": 302.3
},
"luminance": 0.1866
}Semantic roles & 50–950 ramp
primary
#915FCE
secondary
#C7DAAF
accent
#DD4B9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83