#7C4CF5#7C4CF5
#7C4CF5 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.9% C 0.237 H 289.7°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4CF5 |
|---|---|
| RGB | rgb(124, 76, 245) |
| HSL | hsl(257, 89%, 63%) |
| HSV | hsv(257, 69%, 96%) |
| CMYK | cmyk(49.4%, 69%, 0%, 3.9%) |
| CIE-LAB | lab(47.03, 58.49, -77.63) |
| CIE-LCH | lch(47.03, 97.20, 307.00°) |
| OKLab | oklab(56.91% 0.08 -0.2228) |
| OKLCH | oklch(56.91% 0.237 289.7) |
| XYZ | xyz(27.3733, 16.0454, 88.0232) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.57
Bluish Purple
#703BE7
ΔE00 5.03
Purpleish Blue
#6140EF
ΔE00 5.13
Light Indigo
#6D5ACF
ΔE00 6.27
Slate Blue
#6A5ACD
ΔE00 6.73
Blueviolet
#8A2BE2
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4CF5 #C5F54C
analogous
#4C71F5 #7C4CF5 #D04CF5
triadic
#7C4CF5 #F57C4C #4CF57C
tetradic
#7C4CF5 #F54C71 #C5F54C #4CF5D0
square
#7C4CF5 #F54C71 #C5F54C #4CF5D0
split-complementary
#7C4CF5 #F5D04C #71F54C
monochromatic
#3D0BBC #5212F2 #7C4CF5 #A686F8 #D1C0FB
Accessibility & contrast
On white
4.99
#7C4CF5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#7C4CF5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4CF5
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4CF5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4CF5 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073FA
Deuteranopia (green-blind)
#006BF2
Tritanopia (blue-blind)
#52789B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7c4cf5; /* rgb */ color: rgb(124, 76, 245); /* oklch */ color: oklch(56.9% 0.237 289.7);
Tailwind
colors: {
custom: {
50: '#ac82fa',
500: '#7c4cf5',
950: '#000000',
},
}SCSS
$custom: #7c4cf5; $custom-light: #ac82fa; $custom-dark: #000000;
JSON
{
"hex": "#7c4cf5",
"rgb": {
"r": 124,
"g": 76,
"b": 245
},
"hsl": {
"h": 257.041,
"s": 89.418,
"l": 62.941
},
"oklch": {
"l": 0.56907,
"c": 0.23671,
"h": 289.7
},
"luminance": 0.16047
}Semantic roles & 50–950 ramp
primary
#7C4CF5
secondary
#DCEDB0
accent
#E600A4
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85