#915FDF#915FDF
#915FDF is a mid, vivid violet. Relative luminance 0.195; OKLCH L 60.0% C 0.188 H 298.6°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).
Color values
| HEX | #915FDF |
|---|---|
| RGB | rgb(145, 95, 223) |
| HSL | hsl(263, 67%, 62%) |
| HSV | hsv(263, 57%, 87%) |
| CMYK | cmyk(35%, 57.4%, 0%, 12.5%) |
| CIE-LAB | lab(51.30, 46.84, -58.23) |
| CIE-LCH | lch(51.30, 74.73, 308.81°) |
| OKLab | oklab(60% 0.09 -0.1651) |
| OKLCH | oklch(60% 0.188 298.6) |
| XYZ | xyz(29.0853, 19.5315, 72.0353) |
| Luminance | 0.1953 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.22
Lighter Purple
#A55AF4
ΔE00 4.28
Lightish Purple
#A552E6
ΔE00 4.29
Mediumpurple
#9370DB
ΔE00 4.84
Mediumslateblue
#7B68EE
ΔE00 5.59
Amethyst
#9B5FC0
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915FDF #ADDF5F
analogous
#5F6DDF #915FDF #D15FDF
triadic
#915FDF #DF915F #5FDF91
tetradic
#915FDF #DF5F6D #ADDF5F #5FDFD1
square
#915FDF #DF5F6D #ADDF5F #5FDFD1
split-complementary
#915FDF #DFD15F #6DDF5F
monochromatic
#5421A3 #6E2CD5 #915FDF #B492E9 #D7C5F3
Accessibility & contrast
On white
4.28
#915FDF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.91
#915FDF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #915FDF
4.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915FDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##915FDF | 1.00 | 4.28 | 4.91 | 4.91 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D7AE3
Deuteranopia (green-blind)
#3479DC
Tritanopia (blue-blind)
#807A96
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #915fdf; /* rgb */ color: rgb(145, 95, 223); /* oklch */ color: oklch(60.0% 0.188 298.6);
Tailwind
colors: {
custom: {
50: '#b68eea',
500: '#915fdf',
950: '#000000',
},
}SCSS
$custom: #915fdf; $custom-light: #b68eea; $custom-dark: #000000;
JSON
{
"hex": "#915fdf",
"rgb": {
"r": 145,
"g": 95,
"b": 223
},
"hsl": {
"h": 263.438,
"s": 66.667,
"l": 62.353
},
"oklch": {
"l": 0.60002,
"c": 0.18807,
"h": 298.6
},
"luminance": 0.19532
}Semantic roles & 50–950 ramp
primary
#915FDF
secondary
#D2E4B6
accent
#CF1787
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84