#7E5FB9#7E5FB9
#7E5FB9 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 55.7% C 0.137 H 297.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5FB9 |
|---|---|
| RGB | rgb(126, 95, 185) |
| HSL | hsl(261, 39%, 55%) |
| HSV | hsv(261, 49%, 73%) |
| CMYK | cmyk(31.9%, 48.6%, 0%, 27.5%) |
| CIE-LAB | lab(47.13, 32.29, -43.23) |
| CIE-LCH | lch(47.13, 53.95, 306.76°) |
| OKLab | oklab(55.75% 0.0638 -0.1217) |
| OKLCH | oklch(55.75% 0.137 297.7) |
| XYZ | xyz(21.4512, 16.1226, 47.8714) |
| Luminance | 0.1612 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.62
Royal Purple
#7851A9
ΔE00 4.90
Light Indigo
#6D5ACF
ΔE00 5.72
Slate Blue
#6A5ACD
ΔE00 5.95
Amethyst
#9B5FC0
ΔE00 6.27
Iris
#6258C4
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5FB9 #9AB95F
analogous
#5F6DB9 #7E5FB9 #AB5FB9
triadic
#7E5FB9 #B97E5F #5FB97E
tetradic
#7E5FB9 #B95F6D #9AB95F #5FB9AB
square
#7E5FB9 #B95F6D #9AB95F #5FB9AB
split-complementary
#7E5FB9 #B9AB5F #6DB95F
monochromatic
#45306E #604398 #7E5FB9 #A08ACC #C3B4DE
Accessibility & contrast
On white
4.97
#7E5FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#7E5FB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E5FB9
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E5FB9 | 1.00 | 4.97 | 4.22 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4170BC
Deuteranopia (green-blind)
#486FB7
Tritanopia (blue-blind)
#717083
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7e5fb9; /* rgb */ color: rgb(126, 95, 185); /* oklch */ color: oklch(55.7% 0.137 297.7);
Tailwind
colors: {
custom: {
50: '#a68dce',
500: '#7e5fb9',
950: '#000000',
},
}SCSS
$custom: #7e5fb9; $custom-light: #a68dce; $custom-dark: #000000;
JSON
{
"hex": "#7e5fb9",
"rgb": {
"r": 126,
"g": 95,
"b": 185
},
"hsl": {
"h": 260.667,
"s": 39.13,
"l": 54.902
},
"oklch": {
"l": 0.55747,
"c": 0.13741,
"h": 297.7
},
"luminance": 0.16123
}Semantic roles & 50–950 ramp
primary
#7E5FB9
secondary
#C0CDA7
accent
#CF59A6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82