#915EF6#915EF6
#915EF6 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.4% C 0.217 H 294.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #915EF6 |
|---|---|
| RGB | rgb(145, 94, 246) |
| HSL | hsl(260, 89%, 67%) |
| HSV | hsv(260, 62%, 96%) |
| CMYK | cmyk(41.1%, 61.8%, 0%, 3.5%) |
| CIE-LAB | lab(52.60, 53.28, -69.05) |
| CIE-LCH | lch(52.60, 87.22, 307.66°) |
| OKLab | oklab(61.42% 0.0903 -0.1969) |
| OKLCH | oklch(61.42% 0.217 294.6) |
| XYZ | xyz(32.3099, 20.6782, 89.4599) |
| Luminance | 0.2068 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.58
Purpley
#8756E4
ΔE00 3.95
Mediumslateblue
#7B68EE
ΔE00 4.67
Lightish Purple
#A552E6
ΔE00 5.12
Mediumpurple
#9370DB
ΔE00 6.08
Light Urple
#B36FF6
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#915EF6 #C3F65E
analogous
#5E77F6 #915EF6 #DD5EF6
triadic
#915EF6 #F6915E #5EF691
tetradic
#915EF6 #F65E77 #C3F65E #5EF6DD
square
#915EF6 #F65E77 #C3F65E #5EF6DD
split-complementary
#915EF6 #F6DD5E #77F65E
monochromatic
#4D0CCE #6924F3 #915EF6 #B998F9 #E0D2FC
Accessibility & contrast
On white
4.09
#915EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#915EF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #915EF6
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##915EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##915EF6 | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#007BF3
Tritanopia (blue-blind)
#7681A1
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #915ef6; /* rgb */ color: rgb(145, 94, 246); /* oklch */ color: oklch(61.4% 0.217 294.6);
Tailwind
colors: {
custom: {
50: '#b88efa',
500: '#915ef6',
950: '#000000',
},
}SCSS
$custom: #915ef6; $custom-light: #b88efa; $custom-dark: #000000;
JSON
{
"hex": "#915ef6",
"rgb": {
"r": 145,
"g": 94,
"b": 246
},
"hsl": {
"h": 260.132,
"s": 89.412,
"l": 66.667
},
"oklch": {
"l": 0.6142,
"c": 0.21664,
"h": 294.6
},
"luminance": 0.20679
}Semantic roles & 50–950 ramp
primary
#915EF6
secondary
#E0F0BF
accent
#E60098
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85