#915FD2#915FD2
#915FD2 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.2% C 0.172 H 301.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #915FD2 |
|---|---|
| RGB | rgb(145, 95, 210) |
| HSL | hsl(266, 56%, 60%) |
| HSV | hsv(266, 55%, 82%) |
| CMYK | cmyk(31%, 54.8%, 0%, 17.6%) |
| CIE-LAB | lab(50.52, 43.57, -52.11) |
| CIE-LCH | lch(50.52, 67.92, 309.90°) |
| OKLab | oklab(59.17% 0.0898 -0.1472) |
| OKLCH | oklch(59.17% 0.172 301.4) |
| XYZ | xyz(27.3994, 18.8572, 63.1566) |
| Luminance | 0.1886 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.26
Amethyst
#9B5FC0
ΔE00 4.34
Deep Lavender
#8D5EB7
ΔE00 4.70
Lightish Purple
#A552E6
ΔE00 4.79
Mediumpurple
#9370DB
ΔE00 5.12
Lighter Purple
#A55AF4
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915FD2 #A0D25F
analogous
#5F66D2 #915FD2 #CB5FD2
triadic
#915FD2 #D2915F #5FD291
tetradic
#915FD2 #D25F66 #A0D25F #5FD2CB
square
#915FD2 #D25F66 #A0D25F #5FD2CB
split-complementary
#915FD2 #D2CB5F #66D25F
monochromatic
#55288F #7136BE #915FD2 #B28FDF #D3BFED
Accessibility & contrast
On white
4.40
#915FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#915FD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #915FD2
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##915FD2 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3278D6
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#84758F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #915fd2; /* rgb */ color: rgb(145, 95, 210); /* oklch */ color: oklch(59.2% 0.172 301.4);
Tailwind
colors: {
custom: {
50: '#b58ee0',
500: '#915fd2',
950: '#000000',
},
}SCSS
$custom: #915fd2; $custom-light: #b58ee0; $custom-dark: #000000;
JSON
{
"hex": "#915fd2",
"rgb": {
"r": 145,
"g": 95,
"b": 210
},
"hsl": {
"h": 266.087,
"s": 56.098,
"l": 59.804
},
"oklch": {
"l": 0.59174,
"c": 0.1724,
"h": 301.4
},
"luminance": 0.18857
}Semantic roles & 50–950 ramp
primary
#915FD2
secondary
#C9DDB0
accent
#DF489E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83