#7C4FE3#7C4FE3
#7C4FE3 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.9% C 0.213 H 292.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4FE3 |
|---|---|
| RGB | rgb(124, 79, 227) |
| HSL | hsl(258, 73%, 60%) |
| HSV | hsv(258, 65%, 89%) |
| CMYK | cmyk(45.4%, 65.2%, 0%, 11%) |
| CIE-LAB | lab(46.21, 52.09, -68.84) |
| CIE-LCH | lch(46.21, 86.33, 307.12°) |
| OKLab | oklab(55.88% 0.0799 -0.197) |
| OKLCH | oklch(55.88% 0.213 292.1) |
| XYZ | xyz(24.9694, 15.4223, 74.3193) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.75
Light Indigo
#6D5ACF
ΔE00 4.63
Bluish Purple
#703BE7
ΔE00 4.84
Slate Blue
#6A5ACD
ΔE00 5.13
Purpleish Blue
#6140EF
ΔE00 5.36
Dark Periwinkle
#665FD1
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4FE3 #B6E34F
analogous
#4F6CE3 #7C4FE3 #C64FE3
triadic
#7C4FE3 #E37C4F #4FE37C
tetradic
#7C4FE3 #E34F6C #B6E34F #4FE3C6
square
#7C4FE3 #E34F6C #B6E34F #4FE3C6
split-complementary
#7C4FE3 #E3C64F #6CE34F
monochromatic
#42199E #5822D3 #7C4FE3 #A384EB #CBB9F4
Accessibility & contrast
On white
5.14
#7C4FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#7C4FE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4FE3
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4FE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4FE3 | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E8
Deuteranopia (green-blind)
#006AE0
Tritanopia (blue-blind)
#5D7392
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7c4fe3; /* rgb */ color: rgb(124, 79, 227); /* oklch */ color: oklch(55.9% 0.213 292.1);
Tailwind
colors: {
custom: {
50: '#aa83ed',
500: '#7c4fe3',
950: '#000000',
},
}SCSS
$custom: #7c4fe3; $custom-light: #aa83ed; $custom-dark: #000000;
JSON
{
"hex": "#7c4fe3",
"rgb": {
"r": 124,
"g": 79,
"b": 227
},
"hsl": {
"h": 258.243,
"s": 72.549,
"l": 60
},
"oklch": {
"l": 0.55883,
"c": 0.21254,
"h": 292.1
},
"luminance": 0.15423
}Semantic roles & 50–950 ramp
primary
#7C4FE3
secondary
#D2E3AA
accent
#EF39B8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84