#915AC8#915AC8
#915AC8 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.8% C 0.168 H 304.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #915AC8 |
|---|---|
| RGB | rgb(145, 90, 200) |
| HSL | hsl(270, 50%, 57%) |
| HSV | hsv(270, 55%, 78%) |
| CMYK | cmyk(27.5%, 55%, 0%, 21.6%) |
| CIE-LAB | lab(48.89, 43.87, -48.99) |
| CIE-LCH | lch(48.89, 65.76, 311.85°) |
| OKLab | oklab(57.78% 0.0959 -0.138) |
| OKLCH | oklch(57.78% 0.168 304.8) |
| XYZ | xyz(25.7563, 17.5023, 56.6538) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.23
Amethyst
#9B5FC0
ΔE00 3.39
Purpley
#8756E4
ΔE00 5.16
Lightish Purple
#A552E6
ΔE00 5.34
Deep Lilac
#966EBD
ΔE00 6.74
Royal Purple
#7851A9
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915AC8 #91C85A
analogous
#5A5AC8 #915AC8 #C85AC8
triadic
#915AC8 #C8915A #5AC891
tetradic
#915AC8 #C85A5A #91C85A #5AC8C8
square
#915AC8 #C85A5A #91C85A #5AC8C8
split-complementary
#915AC8 #C8C85A #5AC85A
monochromatic
#542A7E #7239AC #915AC8 #B088D7 #CEB6E7
Accessibility & contrast
On white
4.67
#915AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#915AC8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #915AC8
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915AC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##915AC8 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3273CC
Deuteranopia (green-blind)
#4574C5
Tritanopia (blue-blind)
#886F88
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #915ac8; /* rgb */ color: rgb(145, 90, 200); /* oklch */ color: oklch(57.8% 0.168 304.8);
Tailwind
colors: {
custom: {
50: '#b48bd9',
500: '#915ac8',
950: '#000000',
},
}SCSS
$custom: #915ac8; $custom-light: #b48bd9; $custom-dark: #000000;
JSON
{
"hex": "#915ac8",
"rgb": {
"r": 145,
"g": 90,
"b": 200
},
"hsl": {
"h": 270,
"s": 50,
"l": 56.863
},
"oklch": {
"l": 0.57783,
"c": 0.16804,
"h": 304.8
},
"luminance": 0.17502
}Semantic roles & 50–950 ramp
primary
#915AC8
secondary
#BFD5A8
accent
#DA4E94
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83