#7C4FF6#7C4FF6
#7C4FF6 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.234 H 289.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4FF6 |
|---|---|
| RGB | rgb(124, 79, 246) |
| HSL | hsl(256, 90%, 64%) |
| HSV | hsv(256, 68%, 96%) |
| CMYK | cmyk(49.6%, 67.9%, 0%, 3.5%) |
| CIE-LAB | lab(47.66, 57.25, -77.17) |
| CIE-LCH | lch(47.66, 96.08, 306.57°) |
| OKLab | oklab(57.38% 0.0772 -0.2214) |
| OKLCH | oklch(57.38% 0.235 289.2) |
| XYZ | xyz(27.7379, 16.5297, 88.8999) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.30
Purpleish Blue
#6140EF
ΔE00 5.66
Bluish Purple
#703BE7
ΔE00 5.71
Light Indigo
#6D5ACF
ΔE00 6.13
Mediumslateblue
#7B68EE
ΔE00 6.52
Slate Blue
#6A5ACD
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4FF6 #C9F64F
analogous
#4F75F6 #7C4FF6 #D04FF6
triadic
#7C4FF6 #F67C4F #4FF67C
tetradic
#7C4FF6 #F64F75 #C9F64F #4FF6D0
square
#7C4FF6 #F64F75 #C9F64F #4FF6D0
split-complementary
#7C4FF6 #F6D04F #75F64F
monochromatic
#3B0AC1 #5115F3 #7C4FF6 #A789F9 #D3C3FC
Accessibility & contrast
On white
4.88
#7C4FF6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#7C4FF6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4FF6
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4FF6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4FF6 | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074FB
Deuteranopia (green-blind)
#006DF3
Tritanopia (blue-blind)
#517A9D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7c4ff6; /* rgb */ color: rgb(124, 79, 246); /* oklch */ color: oklch(57.4% 0.234 289.2);
Tailwind
colors: {
custom: {
50: '#ac83fa',
500: '#7c4ff6',
950: '#000000',
},
}SCSS
$custom: #7c4ff6; $custom-light: #ac83fa; $custom-dark: #000000;
JSON
{
"hex": "#7c4ff6",
"rgb": {
"r": 124,
"g": 79,
"b": 246
},
"hsl": {
"h": 256.168,
"s": 90.27,
"l": 63.725
},
"oklch": {
"l": 0.5738,
"c": 0.2345,
"h": 289.2
},
"luminance": 0.16531
}Semantic roles & 50–950 ramp
primary
#7C4FF6
secondary
#DEEEB3
accent
#E600A8
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85