#7E4CD5#7E4CD5
#7E4CD5 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.6% C 0.200 H 295.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4CD5 |
|---|---|
| RGB | rgb(126, 76, 213) |
| HSL | hsl(262, 62%, 57%) |
| HSV | hsv(262, 64%, 84%) |
| CMYK | cmyk(40.8%, 64.3%, 0%, 16.5%) |
| CIE-LAB | lab(44.81, 50.34, -63.12) |
| CIE-LCH | lch(44.81, 80.73, 308.57°) |
| OKLab | oklab(54.6% 0.0872 -0.1801) |
| OKLCH | oklch(54.6% 0.2 295.8) |
| XYZ | xyz(23.1957, 14.4081, 64.4968) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.91
Bluish Purple
#703BE7
ΔE00 4.76
Light Indigo
#6D5ACF
ΔE00 4.93
Slate Blue
#6A5ACD
ΔE00 5.38
Blueviolet
#8A2BE2
ΔE00 5.69
Bluey Purple
#6241C7
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4CD5 #A3D54C
analogous
#4C5FD5 #7E4CD5 #C34CD5
triadic
#7E4CD5 #D57E4C #4CD57E
tetradic
#7E4CD5 #D54C5F #A3D54C #4CD5C3
square
#7E4CD5 #D54C5F #A3D54C #4CD5C3
split-complementary
#7E4CD5 #D5C34C #5FD54C
monochromatic
#452087 #5F2BB9 #7E4CD5 #A27EE1 #C5AFEC
Accessibility & contrast
On white
5.41
#7E4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#7E4CD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4CD5
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4CD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4CD5 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#686C8A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7e4cd5; /* rgb */ color: rgb(126, 76, 213); /* oklch */ color: oklch(54.6% 0.200 295.8);
Tailwind
colors: {
custom: {
50: '#a981e3',
500: '#7e4cd5',
950: '#000000',
},
}SCSS
$custom: #7e4cd5; $custom-light: #a981e3; $custom-dark: #000000;
JSON
{
"hex": "#7e4cd5",
"rgb": {
"r": 126,
"g": 76,
"b": 213
},
"hsl": {
"h": 261.898,
"s": 61.991,
"l": 56.667
},
"oklch": {
"l": 0.54604,
"c": 0.20009,
"h": 295.8
},
"luminance": 0.14409
}Semantic roles & 50–950 ramp
primary
#7E4CD5
secondary
#C6DAA2
accent
#E543AA
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110A15
muted
#807C84