#7C4FD5#7C4FD5
#7C4FD5 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.8% C 0.196 H 294.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4FD5 |
|---|---|
| RGB | rgb(124, 79, 213) |
| HSL | hsl(260, 61%, 57%) |
| HSV | hsv(260, 63%, 84%) |
| CMYK | cmyk(41.8%, 62.9%, 0%, 16.5%) |
| CIE-LAB | lab(45.19, 48.33, -62.51) |
| CIE-LCH | lch(45.19, 79.02, 307.71°) |
| OKLab | oklab(54.83% 0.0813 -0.1784) |
| OKLCH | oklch(54.83% 0.196 294.5) |
| XYZ | xyz(23.1152, 14.6806, 64.5536) |
| Luminance | 0.1468 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.57
Light Indigo
#6D5ACF
ΔE00 4.17
Slate Blue
#6A5ACD
ΔE00 4.64
Bluish Purple
#703BE7
ΔE00 5.15
Iris
#6258C4
ΔE00 5.92
Purpleish Blue
#6140EF
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4FD5 #A8D54F
analogous
#4F65D5 #7C4FD5 #BF4FD5
triadic
#7C4FD5 #D57C4F #4FD57C
tetradic
#7C4FD5 #D54F65 #A8D54F #4FD5BF
square
#7C4FD5 #D54F65 #A8D54F #4FD5BF
split-complementary
#7C4FD5 #D5BF4F #65D54F
monochromatic
#442189 #5C2CBA #7C4FD5 #A180E1 #C6B2ED
Accessibility & contrast
On white
5.34
#7C4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#7C4FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4FD5
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4FD5 | 1.00 | 5.34 | 3.94 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#0069D2
Tritanopia (blue-blind)
#646E8B
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7c4fd5; /* rgb */ color: rgb(124, 79, 213); /* oklch */ color: oklch(54.8% 0.196 294.5);
Tailwind
colors: {
custom: {
50: '#a883e3',
500: '#7c4fd5',
950: '#000000',
},
}SCSS
$custom: #7c4fd5; $custom-light: #a883e3; $custom-dark: #000000;
JSON
{
"hex": "#7c4fd5",
"rgb": {
"r": 124,
"g": 79,
"b": 213
},
"hsl": {
"h": 260.149,
"s": 61.468,
"l": 57.255
},
"oklch": {
"l": 0.54831,
"c": 0.19601,
"h": 294.5
},
"luminance": 0.14681
}Semantic roles & 50–950 ramp
primary
#7C4FD5
secondary
#C9DBA5
accent
#E543AE
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84