#915AC7#915AC7
#915AC7 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.167 H 305.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #915AC7 |
|---|---|
| RGB | rgb(145, 90, 199) |
| HSL | hsl(270, 49%, 57%) |
| HSV | hsv(270, 55%, 78%) |
| CMYK | cmyk(27.1%, 54.8%, 0%, 22%) |
| CIE-LAB | lab(48.83, 43.63, -48.50) |
| CIE-LCH | lch(48.83, 65.24, 311.97°) |
| OKLab | oklab(57.72% 0.0958 -0.1366) |
| OKLCH | oklch(57.72% 0.167 305) |
| XYZ | xyz(25.6398, 17.4557, 56.0403) |
| Luminance | 0.1746 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.08
Amethyst
#9B5FC0
ΔE00 3.29
Purpley
#8756E4
ΔE00 5.32
Lightish Purple
#A552E6
ΔE00 5.46
Deep Lilac
#966EBD
ΔE00 6.67
Royal Purple
#7851A9
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915AC7 #90C75A
analogous
#5B5AC7 #915AC7 #C75AC7
triadic
#915AC7 #C7915A #5AC791
tetradic
#915AC7 #C75B5A #90C75A #5AC7C7
square
#915AC7 #C75B5A #90C75A #5AC7C7
split-complementary
#915AC7 #C7C75A #5AC75B
monochromatic
#542A7C #723AAA #915AC7 #AF88D7 #CEB5E6
Accessibility & contrast
On white
4.68
#915AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#915AC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #915AC7
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915AC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##915AC7 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3472CB
Deuteranopia (green-blind)
#4674C4
Tritanopia (blue-blind)
#886E88
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #915ac7; /* rgb */ color: rgb(145, 90, 199); /* oklch */ color: oklch(57.7% 0.167 305.0);
Tailwind
colors: {
custom: {
50: '#b48bd8',
500: '#915ac7',
950: '#000000',
},
}SCSS
$custom: #915ac7; $custom-light: #b48bd8; $custom-dark: #000000;
JSON
{
"hex": "#915ac7",
"rgb": {
"r": 145,
"g": 90,
"b": 199
},
"hsl": {
"h": 270.275,
"s": 49.321,
"l": 56.667
},
"oklch": {
"l": 0.57722,
"c": 0.16685,
"h": 305
},
"luminance": 0.17456
}Semantic roles & 50–950 ramp
primary
#915AC7
secondary
#BED5A8
accent
#D94F93
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83