#7E4DD6#7E4DD6
#7E4DD6 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.8% C 0.200 H 295.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7E4DD6 |
|---|---|
| RGB | rgb(126, 77, 214) |
| HSL | hsl(261, 63%, 57%) |
| HSV | hsv(261, 64%, 84%) |
| CMYK | cmyk(41.1%, 64%, 0%, 16.1%) |
| CIE-LAB | lab(45.08, 50.07, -63.26) |
| CIE-LCH | lch(45.08, 80.68, 308.36°) |
| OKLab | oklab(54.82% 0.0861 -0.1805) |
| OKLCH | oklch(54.82% 0.2 295.5) |
| XYZ | xyz(23.3925, 14.5979, 65.1905) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.65
Light Indigo
#6D5ACF
ΔE00 4.75
Bluish Purple
#703BE7
ΔE00 4.88
Slate Blue
#6A5ACD
ΔE00 5.21
Blueviolet
#8A2BE2
ΔE00 5.90
Purpleish Blue
#6140EF
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E4DD6 #A5D64D
analogous
#4D61D6 #7E4DD6 #C34DD6
triadic
#7E4DD6 #D67E4D #4DD67E
tetradic
#7E4DD6 #D64D61 #A5D64D #4DD6C3
square
#7E4DD6 #D64D61 #A5D64D #4DD6C3
split-complementary
#7E4DD6 #D6C34D #61D64D
monochromatic
#452089 #5E2BBB #7E4DD6 #A27FE1 #C6B0ED
Accessibility & contrast
On white
5.36
#7E4DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#7E4DD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E4DD6
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E4DD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E4DD6 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#0069D3
Tritanopia (blue-blind)
#676D8B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7e4dd6; /* rgb */ color: rgb(126, 77, 214); /* oklch */ color: oklch(54.8% 0.200 295.5);
Tailwind
colors: {
custom: {
50: '#aa81e3',
500: '#7e4dd6',
950: '#000000',
},
}SCSS
$custom: #7e4dd6; $custom-light: #aa81e3; $custom-dark: #000000;
JSON
{
"hex": "#7e4dd6",
"rgb": {
"r": 126,
"g": 77,
"b": 214
},
"hsl": {
"h": 261.46,
"s": 62.557,
"l": 57.059
},
"oklch": {
"l": 0.54819,
"c": 0.19996,
"h": 295.5
},
"luminance": 0.14598
}Semantic roles & 50–950 ramp
primary
#7E4DD6
secondary
#C7DBA4
accent
#E642AB
background
#FAF8FE
surface
#F5EFFC
border
#CFCAD5
text
#110B16
muted
#807C84