#7E54E6#7E54E6
#7E54E6 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.0% C 0.210 H 291.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7E54E6 |
|---|---|
| RGB | rgb(126, 84, 230) |
| HSL | hsl(257, 74%, 62%) |
| HSV | hsv(257, 63%, 90%) |
| CMYK | cmyk(45.2%, 63.5%, 0%, 9.8%) |
| CIE-LAB | lab(47.61, 50.62, -68.25) |
| CIE-LCH | lch(47.61, 84.97, 306.56°) |
| OKLab | oklab(57.01% 0.0771 -0.1952) |
| OKLCH | oklch(57.01% 0.21 291.6) |
| XYZ | xyz(26.0535, 16.4886, 76.6574) |
| Luminance | 0.1649 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.74
Light Indigo
#6D5ACF
ΔE00 4.53
Slate Blue
#6A5ACD
ΔE00 5.10
Mediumslateblue
#7B68EE
ΔE00 5.87
Dark Periwinkle
#665FD1
ΔE00 5.97
Bluish Purple
#703BE7
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E54E6 #BCE654
analogous
#5473E6 #7E54E6 #C754E6
triadic
#7E54E6 #E67E54 #54E67E
tetradic
#7E54E6 #E65473 #BCE654 #54E6C7
square
#7E54E6 #E65473 #BCE654 #54E6C7
split-complementary
#7E54E6 #E6C754 #73E654
monochromatic
#4118A7 #5620DD #7E54E6 #A689EE #CFBFF6
Accessibility & contrast
On white
4.89
#7E54E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#7E54E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E54E6
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E54E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E54E6 | 1.00 | 4.89 | 4.30 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#006EE3
Tritanopia (blue-blind)
#5F7795
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7e54e6; /* rgb */ color: rgb(126, 84, 230); /* oklch */ color: oklch(57.0% 0.210 291.6);
Tailwind
colors: {
custom: {
50: '#ab86ef',
500: '#7e54e6',
950: '#000000',
},
}SCSS
$custom: #7e54e6; $custom-light: #ab86ef; $custom-dark: #000000;
JSON
{
"hex": "#7e54e6",
"rgb": {
"r": 126,
"g": 84,
"b": 230
},
"hsl": {
"h": 257.26,
"s": 74.49,
"l": 61.569
},
"oklch": {
"l": 0.57011,
"c": 0.20987,
"h": 291.6
},
"luminance": 0.16489
}Semantic roles & 50–950 ramp
primary
#7E54E6
secondary
#D6E6B0
accent
#D70F9D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85