#7E5FC0#7E5FC0
#7E5FC0 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.2% C 0.147 H 296.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5FC0 |
|---|---|
| RGB | rgb(126, 95, 192) |
| HSL | hsl(259, 43%, 56%) |
| HSV | hsv(259, 51%, 75%) |
| CMYK | cmyk(34.4%, 50.5%, 0%, 24.7%) |
| CIE-LAB | lab(47.53, 34.13, -46.66) |
| CIE-LCH | lch(47.53, 57.81, 306.19°) |
| OKLab | oklab(56.17% 0.0645 -0.1317) |
| OKLCH | oklch(56.17% 0.147 296.1) |
| XYZ | xyz(22.2084, 16.4255, 51.8593) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.24
Light Indigo
#6D5ACF
ΔE00 4.75
Slate Blue
#6A5ACD
ΔE00 5.05
Royal Purple
#7851A9
ΔE00 5.62
Dark Periwinkle
#665FD1
ΔE00 5.97
Purpley
#8756E4
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5FC0 #A1C05F
analogous
#5F71C0 #7E5FC0 #AF5FC0
triadic
#7E5FC0 #C07E5F #5FC07E
tetradic
#7E5FC0 #C05F71 #A1C05F #5FC0AF
square
#7E5FC0 #C05F71 #A1C05F #5FC0AF
split-complementary
#7E5FC0 #C0AF5F #71C05F
monochromatic
#452F76 #5F40A2 #7E5FC0 #A18BD1 #C5B7E3
Accessibility & contrast
On white
4.90
#7E5FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#7E5FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E5FC0
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E5FC0 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B71C3
Deuteranopia (green-blind)
#426FBE
Tritanopia (blue-blind)
#6F7286
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7e5fc0; /* rgb */ color: rgb(126, 95, 192); /* oklch */ color: oklch(56.2% 0.147 296.1);
Tailwind
colors: {
custom: {
50: '#a68dd3',
500: '#7e5fc0',
950: '#000000',
},
}SCSS
$custom: #7e5fc0; $custom-light: #a68dd3; $custom-dark: #000000;
JSON
{
"hex": "#7e5fc0",
"rgb": {
"r": 126,
"g": 95,
"b": 192
},
"hsl": {
"h": 259.175,
"s": 43.498,
"l": 56.275
},
"oklch": {
"l": 0.56167,
"c": 0.14668,
"h": 296.1
},
"luminance": 0.16426
}Semantic roles & 50–950 ramp
primary
#7E5FC0
secondary
#C5D1A9
accent
#D355AB
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83