#7E5CD3#7E5CD3
#7E5CD3 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.9% C 0.176 H 293.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7E5CD3 |
|---|---|
| RGB | rgb(126, 92, 211) |
| HSL | hsl(257, 57%, 59%) |
| HSV | hsv(257, 56%, 83%) |
| CMYK | cmyk(40.3%, 56.4%, 0%, 17.3%) |
| CIE-LAB | lab(48.00, 40.99, -56.83) |
| CIE-LCH | lch(48.00, 70.07, 305.80°) |
| OKLab | oklab(56.89% 0.0691 -0.1616) |
| OKLCH | oklch(56.89% 0.176 293.2) |
| XYZ | xyz(24.1861, 16.7924, 63.5824) |
| Luminance | 0.1679 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.07
Light Indigo
#6D5ACF
ΔE00 3.29
Slate Blue
#6A5ACD
ΔE00 3.88
Dark Periwinkle
#665FD1
ΔE00 4.77
Mediumslateblue
#7B68EE
ΔE00 5.61
Iris
#6258C4
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E5CD3 #B1D35C
analogous
#5C76D3 #7E5CD3 #BA5CD3
triadic
#7E5CD3 #D37E5C #5CD37E
tetradic
#7E5CD3 #D35C76 #B1D35C #5CD3BA
square
#7E5CD3 #D35C76 #B1D35C #5CD3BA
split-complementary
#7E5CD3 #D3BA5C #76D35C
monochromatic
#44268E #5B33BE #7E5CD3 #A48CE0 #CABCED
Accessibility & contrast
On white
4.82
#7E5CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#7E5CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E5CD3
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E5CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E5CD3 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B73D7
Deuteranopia (green-blind)
#2770D0
Tritanopia (blue-blind)
#68758F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7e5cd3; /* rgb */ color: rgb(126, 92, 211); /* oklch */ color: oklch(56.9% 0.176 293.2);
Tailwind
colors: {
custom: {
50: '#a88be1',
500: '#7e5cd3',
950: '#000000',
},
}SCSS
$custom: #7e5cd3; $custom-light: #a88be1; $custom-dark: #000000;
JSON
{
"hex": "#7e5cd3",
"rgb": {
"r": 126,
"g": 92,
"b": 211
},
"hsl": {
"h": 257.143,
"s": 57.488,
"l": 59.412
},
"oklch": {
"l": 0.56885,
"c": 0.17576,
"h": 293.2
},
"luminance": 0.16793
}Semantic roles & 50–950 ramp
primary
#7E5CD3
secondary
#CFDDAE
accent
#E147B5
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83