#7C4FE5#7C4FE5
#7C4FE5 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.0% C 0.215 H 291.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4FE5 |
|---|---|
| RGB | rgb(124, 79, 229) |
| HSL | hsl(258, 74%, 60%) |
| HSV | hsv(258, 66%, 90%) |
| CMYK | cmyk(45.9%, 65.5%, 0%, 10.2%) |
| CIE-LAB | lab(46.36, 52.63, -69.73) |
| CIE-LCH | lch(46.36, 87.37, 307.05°) |
| OKLab | oklab(56.04% 0.0796 -0.1996) |
| OKLCH | oklch(56.04% 0.215 291.7) |
| XYZ | xyz(25.2471, 15.5333, 75.7815) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.72
Light Indigo
#6D5ACF
ΔE00 4.75
Bluish Purple
#703BE7
ΔE00 4.87
Slate Blue
#6A5ACD
ΔE00 5.25
Purpleish Blue
#6140EF
ΔE00 5.32
Dark Periwinkle
#665FD1
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4FE5 #B8E54F
analogous
#4F6DE5 #7C4FE5 #C74FE5
triadic
#7C4FE5 #E57C4F #4FE57C
tetradic
#7C4FE5 #E54F6D #B8E54F #4FE5C7
square
#7C4FE5 #E54F6D #B8E54F #4FE5C7
split-complementary
#7C4FE5 #E5C74F #6DE54F
monochromatic
#4118A2 #5720D7 #7C4FE5 #A484ED #CBBAF5
Accessibility & contrast
On white
5.11
#7C4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#7C4FE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4FE5
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4FE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4FE5 | 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)
#0070EA
Deuteranopia (green-blind)
#006BE2
Tritanopia (blue-blind)
#5C7393
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7c4fe5; /* rgb */ color: rgb(124, 79, 229); /* oklch */ color: oklch(56.0% 0.215 291.7);
Tailwind
colors: {
custom: {
50: '#aa83ee',
500: '#7c4fe5',
950: '#000000',
},
}SCSS
$custom: #7c4fe5; $custom-light: #aa83ee; $custom-dark: #000000;
JSON
{
"hex": "#7c4fe5",
"rgb": {
"r": 124,
"g": 79,
"b": 229
},
"hsl": {
"h": 258,
"s": 74.257,
"l": 60.392
},
"oklch": {
"l": 0.56037,
"c": 0.21488,
"h": 291.7
},
"luminance": 0.15534
}Semantic roles & 50–950 ramp
primary
#7C4FE5
secondary
#D3E5AB
accent
#D60F9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84