#7C4FD9#7C4FD9
#7C4FD9 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.1% C 0.201 H 293.8°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4FD9 |
|---|---|
| RGB | rgb(124, 79, 217) |
| HSL | hsl(260, 64%, 58%) |
| HSV | hsv(260, 64%, 85%) |
| CMYK | cmyk(42.9%, 63.6%, 0%, 14.9%) |
| CIE-LAB | lab(45.48, 49.40, -64.34) |
| CIE-LCH | lch(45.48, 81.12, 307.52°) |
| OKLab | oklab(55.13% 0.0809 -0.1837) |
| OKLCH | oklch(55.13% 0.201 293.8) |
| XYZ | xyz(23.6292, 14.8862, 67.2605) |
| Luminance | 0.1489 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.24
Light Indigo
#6D5ACF
ΔE00 4.21
Slate Blue
#6A5ACD
ΔE00 4.70
Bluish Purple
#703BE7
ΔE00 4.97
Purpleish Blue
#6140EF
ΔE00 5.77
Iris
#6258C4
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4FD9 #ACD94F
analogous
#4F67D9 #7C4FD9 #C14FD9
triadic
#7C4FD9 #D97C4F #4FD97C
tetradic
#7C4FD9 #D94F67 #ACD94F #4FD9C1
square
#7C4FD9 #D94F67 #ACD94F #4FD9C1
split-complementary
#7C4FD9 #D9C14F #67D94F
monochromatic
#431F8F #5B2AC1 #7C4FD9 #A181E4 #C7B4EF
Accessibility & contrast
On white
5.28
#7C4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#7C4FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4FD9
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4FD9 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0069D6
Tritanopia (blue-blind)
#626F8D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7c4fd9; /* rgb */ color: rgb(124, 79, 217); /* oklch */ color: oklch(55.1% 0.201 293.8);
Tailwind
colors: {
custom: {
50: '#a883e6',
500: '#7c4fd9',
950: '#000000',
},
}SCSS
$custom: #7c4fd9; $custom-light: #a883e6; $custom-dark: #000000;
JSON
{
"hex": "#7c4fd9",
"rgb": {
"r": 124,
"g": 79,
"b": 217
},
"hsl": {
"h": 259.565,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.55127,
"c": 0.20076,
"h": 293.8
},
"luminance": 0.14887
}Semantic roles & 50–950 ramp
primary
#7C4FD9
secondary
#CBDDA6
accent
#E740B1
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84