#7E55E4#7E55E4
#7E55E4 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.0% C 0.206 H 291.7°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7E55E4 |
|---|---|
| RGB | rgb(126, 85, 228) |
| HSL | hsl(257, 73%, 61%) |
| HSV | hsv(257, 63%, 89%) |
| CMYK | cmyk(44.7%, 62.7%, 0%, 10.6%) |
| CIE-LAB | lab(47.67, 49.54, -67.03) |
| CIE-LCH | lch(47.67, 83.34, 306.47°) |
| OKLab | oklab(57.01% 0.0763 -0.1916) |
| OKLCH | oklch(57.01% 0.206 291.7) |
| XYZ | xyz(25.8524, 16.5332, 75.2128) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.65
Light Indigo
#6D5ACF
ΔE00 4.30
Slate Blue
#6A5ACD
ΔE00 4.88
Mediumslateblue
#7B68EE
ΔE00 5.73
Dark Periwinkle
#665FD1
ΔE00 5.76
Bluish Purple
#703BE7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E55E4 #BBE455
analogous
#5574E4 #7E55E4 #C655E4
triadic
#7E55E4 #E47E55 #55E47E
tetradic
#7E55E4 #E45574 #BBE455 #55E4C6
square
#7E55E4 #E45574 #BBE455 #55E4C6
split-complementary
#7E55E4 #E4C655 #74E455
monochromatic
#421AA4 #5723D9 #7E55E4 #A68AEC #CEBFF5
Accessibility & contrast
On white
4.88
#7E55E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#7E55E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E55E4
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E55E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E55E4 | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#006EE1
Tritanopia (blue-blind)
#607695
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7e55e4; /* rgb */ color: rgb(126, 85, 228); /* oklch */ color: oklch(57.0% 0.206 291.7);
Tailwind
colors: {
custom: {
50: '#aa87ed',
500: '#7e55e4',
950: '#000000',
},
}SCSS
$custom: #7e55e4; $custom-light: #aa87ed; $custom-dark: #000000;
JSON
{
"hex": "#7e55e4",
"rgb": {
"r": 126,
"g": 85,
"b": 228
},
"hsl": {
"h": 257.203,
"s": 72.589,
"l": 61.373
},
"oklch": {
"l": 0.57007,
"c": 0.20621,
"h": 291.7
},
"luminance": 0.16534
}Semantic roles & 50–950 ramp
primary
#7E55E4
secondary
#D6E5B0
accent
#D5119D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84