#7D4FE4#7D4FE4
#7D4FE4 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.214 H 292.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4FE4 |
|---|---|
| RGB | rgb(125, 79, 228) |
| HSL | hsl(259, 73%, 60%) |
| HSV | hsv(259, 65%, 89%) |
| CMYK | cmyk(45.2%, 65.4%, 0%, 10.6%) |
| CIE-LAB | lab(46.38, 52.55, -69.12) |
| CIE-LCH | lch(46.38, 86.83, 307.25°) |
| OKLab | oklab(56.06% 0.0811 -0.1978) |
| OKLCH | oklch(56.06% 0.214 292.3) |
| XYZ | xyz(25.2531, 15.5526, 75.0551) |
| Luminance | 0.1555 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.60
Light Indigo
#6D5ACF
ΔE00 4.78
Bluish Purple
#703BE7
ΔE00 4.94
Slate Blue
#6A5ACD
ΔE00 5.29
Purpleish Blue
#6140EF
ΔE00 5.47
Dark Periwinkle
#665FD1
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4FE4 #B6E44F
analogous
#4F6CE4 #7D4FE4 #C74FE4
triadic
#7D4FE4 #E47D4F #4FE47D
tetradic
#7D4FE4 #E44F6C #B6E44F #4FE4C7
square
#7D4FE4 #E44F6C #B6E44F #4FE4C7
split-complementary
#7D4FE4 #E4C74F #6CE44F
monochromatic
#4219A0 #5821D5 #7D4FE4 #A484EC #CBB9F4
Accessibility & contrast
On white
5.11
#7D4FE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#7D4FE4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4FE4
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4FE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4FE4 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#5E7393
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7d4fe4; /* rgb */ color: rgb(125, 79, 228); /* oklch */ color: oklch(56.1% 0.214 292.3);
Tailwind
colors: {
custom: {
50: '#aa83ed',
500: '#7d4fe4',
950: '#000000',
},
}SCSS
$custom: #7d4fe4; $custom-light: #aa83ed; $custom-dark: #000000;
JSON
{
"hex": "#7d4fe4",
"rgb": {
"r": 125,
"g": 79,
"b": 228
},
"hsl": {
"h": 258.523,
"s": 73.399,
"l": 60.196
},
"oklch": {
"l": 0.56055,
"c": 0.21374,
"h": 292.3
},
"luminance": 0.15553
}Semantic roles & 50–950 ramp
primary
#7D4FE4
secondary
#D2E4AB
accent
#D61099
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84