#915CC7#915CC7
#915CC7 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.0% C 0.164 H 304.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #915CC7 |
|---|---|
| RGB | rgb(145, 92, 199) |
| HSL | hsl(270, 49%, 57%) |
| HSV | hsv(270, 54%, 78%) |
| CMYK | cmyk(27.1%, 53.8%, 0%, 22%) |
| CIE-LAB | lab(49.25, 42.54, -47.83) |
| CIE-LCH | lch(49.25, 64.01, 311.65°) |
| OKLab | oklab(58.03% 0.0932 -0.1346) |
| OKLCH | oklch(58.03% 0.164 304.7) |
| XYZ | xyz(25.8108, 17.7977, 56.0973) |
| Luminance | 0.1780 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.92
Amethyst
#9B5FC0
ΔE00 3.05
Purpley
#8756E4
ΔE00 5.46
Lightish Purple
#A552E6
ΔE00 5.57
Deep Lilac
#966EBD
ΔE00 6.17
Mediumpurple
#9370DB
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915CC7 #92C75C
analogous
#5C5DC7 #915CC7 #C75CC7
triadic
#915CC7 #C7915C #5CC791
tetradic
#915CC7 #C75C5D #92C75C #5CC7C7
square
#915CC7 #C75C5D #92C75C #5CC7C7
split-complementary
#915CC7 #C7C75C #5DC75C
monochromatic
#542B7D #723BAB #915CC7 #B08AD7 #CEB7E6
Accessibility & contrast
On white
4.61
#915CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#915CC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #915CC7
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915CC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##915CC7 | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3774CB
Deuteranopia (green-blind)
#4975C4
Tritanopia (blue-blind)
#887089
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #915cc7; /* rgb */ color: rgb(145, 92, 199); /* oklch */ color: oklch(58.0% 0.164 304.7);
Tailwind
colors: {
custom: {
50: '#b48cd8',
500: '#915cc7',
950: '#000000',
},
}SCSS
$custom: #915cc7; $custom-light: #b48cd8; $custom-dark: #000000;
JSON
{
"hex": "#915cc7",
"rgb": {
"r": 145,
"g": 92,
"b": 199
},
"hsl": {
"h": 269.72,
"s": 48.858,
"l": 57.059
},
"oklch": {
"l": 0.58032,
"c": 0.16374,
"h": 304.7
},
"luminance": 0.17798
}Semantic roles & 50–950 ramp
primary
#915CC7
secondary
#C0D5AA
accent
#D84F95
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83