#7D54E4#7D54E4
#7D54E4 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 56.8% C 0.207 H 291.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7D54E4 |
|---|---|
| RGB | rgb(125, 84, 228) |
| HSL | hsl(257, 73%, 61%) |
| HSV | hsv(257, 63%, 89%) |
| CMYK | cmyk(45.2%, 63.2%, 0%, 10.6%) |
| CIE-LAB | lab(47.37, 49.88, -67.52) |
| CIE-LCH | lch(47.37, 83.95, 306.46°) |
| OKLab | oklab(56.77% 0.076 -0.1931) |
| OKLCH | oklch(56.77% 0.207 291.5) |
| XYZ | xyz(25.6275, 16.3012, 75.1799) |
| Luminance | 0.1630 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.89
Light Indigo
#6D5ACF
ΔE00 4.26
Slate Blue
#6A5ACD
ΔE00 4.82
Dark Periwinkle
#665FD1
ΔE00 5.76
Mediumslateblue
#7B68EE
ΔE00 5.98
Bluish Purple
#703BE7
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D54E4 #BBE454
analogous
#5473E4 #7D54E4 #C554E4
triadic
#7D54E4 #E47D54 #54E47D
tetradic
#7D54E4 #E45473 #BBE454 #54E4C5
square
#7D54E4 #E45473 #BBE454 #54E4C5
split-complementary
#7D54E4 #E4C554 #73E454
monochromatic
#411AA4 #5622D9 #7D54E4 #A589EC #CDBEF5
Accessibility & contrast
On white
4.93
#7D54E4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#7D54E4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D54E4
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D54E4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D54E4 | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#006DE1
Tritanopia (blue-blind)
#5E7694
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7d54e4; /* rgb */ color: rgb(125, 84, 228); /* oklch */ color: oklch(56.8% 0.207 291.5);
Tailwind
colors: {
custom: {
50: '#aa86ed',
500: '#7d54e4',
950: '#000000',
},
}SCSS
$custom: #7d54e4; $custom-light: #aa86ed; $custom-dark: #000000;
JSON
{
"hex": "#7d54e4",
"rgb": {
"r": 125,
"g": 84,
"b": 228
},
"hsl": {
"h": 257.083,
"s": 72.727,
"l": 61.176
},
"oklch": {
"l": 0.56767,
"c": 0.20748,
"h": 291.5
},
"luminance": 0.16302
}Semantic roles & 50–950 ramp
primary
#7D54E4
secondary
#D6E5AF
accent
#D5119D
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84