#7D54DC#7D54DC
#7D54DC is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.2% C 0.198 H 292.8°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7D54DC |
|---|---|
| RGB | rgb(125, 84, 220) |
| HSL | hsl(258, 66%, 60%) |
| HSV | hsv(258, 62%, 86%) |
| CMYK | cmyk(43.2%, 61.8%, 0%, 13.7%) |
| CIE-LAB | lab(46.80, 47.70, -63.90) |
| CIE-LCH | lch(46.80, 79.74, 306.74°) |
| OKLab | oklab(56.18% 0.0767 -0.1824) |
| OKLCH | oklch(56.18% 0.198 292.8) |
| XYZ | xyz(24.5425, 15.8672, 69.4658) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.20
Light Indigo
#6D5ACF
ΔE00 3.73
Slate Blue
#6A5ACD
ΔE00 4.31
Dark Periwinkle
#665FD1
ΔE00 5.54
Iris
#6258C4
ΔE00 6.02
Bluish Purple
#703BE7
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D54DC #B3DC54
analogous
#546FDC #7D54DC #C154DC
triadic
#7D54DC #DC7D54 #54DC7D
tetradic
#7D54DC #DC546F #B3DC54 #54DCC1
square
#7D54DC #DC546F #B3DC54 #54DCC1
split-complementary
#7D54DC #DCC154 #6FDC54
monochromatic
#431F97 #5A29CA #7D54DC #A487E6 #CABAF1
Accessibility & contrast
On white
5.03
#7D54DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#7D54DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D54DC
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D54DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D54DC | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#627390
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7d54dc; /* rgb */ color: rgb(125, 84, 220); /* oklch */ color: oklch(56.2% 0.198 292.8);
Tailwind
colors: {
custom: {
50: '#a986e8',
500: '#7d54dc',
950: '#000000',
},
}SCSS
$custom: #7d54dc; $custom-light: #a986e8; $custom-dark: #000000;
JSON
{
"hex": "#7d54dc",
"rgb": {
"r": 125,
"g": 84,
"b": 220
},
"hsl": {
"h": 258.088,
"s": 66.019,
"l": 59.608
},
"oklch": {
"l": 0.56176,
"c": 0.19786,
"h": 292.8
},
"luminance": 0.15868
}Semantic roles & 50–950 ramp
primary
#7D54DC
secondary
#D0E0AC
accent
#E93FB6
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100B16
muted
#7F7C84