#915FC2#915FC2
#915FC2 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.2% C 0.153 H 305.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #915FC2 |
|---|---|
| RGB | rgb(145, 95, 194) |
| HSL | hsl(270, 45%, 57%) |
| HSV | hsv(270, 51%, 76%) |
| CMYK | cmyk(25.3%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(49.62, 39.67, -44.37) |
| CIE-LCH | lch(49.62, 59.52, 311.80°) |
| OKLab | oklab(58.21% 0.0888 -0.1245) |
| OKLCH | oklch(58.21% 0.153 305.5) |
| XYZ | xyz(25.5048, 18.0994, 53.1784) |
| Luminance | 0.1810 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.01
Amethyst
#9B5FC0
ΔE00 2.36
Deep Lilac
#966EBD
ΔE00 5.06
Lightish Purple
#A552E6
ΔE00 6.47
Mediumpurple
#9370DB
ΔE00 6.50
Purpley
#8756E4
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915FC2 #90C25F
analogous
#605FC2 #915FC2 #C25FC2
triadic
#915FC2 #C2915F #5FC291
tetradic
#915FC2 #C2605F #90C25F #5FC2C2
square
#915FC2 #C2605F #90C25F #5FC2C2
split-complementary
#915FC2 #C2C25F #5FC260
monochromatic
#542E79 #723FA5 #915FC2 #AF8BD3 #CEB8E4
Accessibility & contrast
On white
4.55
#915FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#915FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #915FC2
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##915FC2 | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4174C5
Deuteranopia (green-blind)
#5076C0
Tritanopia (blue-blind)
#897188
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #915fc2; /* rgb */ color: rgb(145, 95, 194); /* oklch */ color: oklch(58.2% 0.153 305.5);
Tailwind
colors: {
custom: {
50: '#b48ed5',
500: '#915fc2',
950: '#000000',
},
}SCSS
$custom: #915fc2; $custom-light: #b48ed5; $custom-dark: #000000;
JSON
{
"hex": "#915fc2",
"rgb": {
"r": 145,
"g": 95,
"b": 194
},
"hsl": {
"h": 270.303,
"s": 44.796,
"l": 56.667
},
"oklch": {
"l": 0.58214,
"c": 0.15294,
"h": 305.5
},
"luminance": 0.18099
}Semantic roles & 50–950 ramp
primary
#915FC2
secondary
#BED3AA
accent
#D45393
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83