#7C4CE2#7C4CE2
#7C4CE2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.215 H 292.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7C4CE2 |
|---|---|
| RGB | rgb(124, 76, 226) |
| HSL | hsl(259, 72%, 59%) |
| HSV | hsv(259, 66%, 89%) |
| CMYK | cmyk(45.1%, 66.4%, 0%, 11.4%) |
| CIE-LAB | lab(45.56, 53.39, -69.33) |
| CIE-LCH | lch(45.56, 87.51, 307.60°) |
| OKLab | oklab(55.39% 0.083 -0.1984) |
| OKLCH | oklch(55.39% 0.215 292.7) |
| XYZ | xyz(24.6203, 14.9442, 73.5241) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.32
Bluish Purple
#703BE7
ΔE00 4.19
Purpleish Blue
#6140EF
ΔE00 4.95
Light Indigo
#6D5ACF
ΔE00 5.01
Slate Blue
#6A5ACD
ΔE00 5.48
Blueviolet
#8A2BE2
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C4CE2 #B2E24C
analogous
#4C67E2 #7C4CE2 #C74CE2
triadic
#7C4CE2 #E27C4C #4CE27C
tetradic
#7C4CE2 #E24C67 #B2E24C #4CE2C7
square
#7C4CE2 #E24C67 #B2E24C #4CE2C7
split-complementary
#7C4CE2 #E2C74C #67E24C
monochromatic
#42199B #5922CF #7C4CE2 #A381EB #C9B5F3
Accessibility & contrast
On white
5.26
#7C4CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#7C4CE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C4CE2
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C4CE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C4CE2 | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#5E7191
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7c4ce2; /* rgb */ color: rgb(124, 76, 226); /* oklch */ color: oklch(55.4% 0.215 292.7);
Tailwind
colors: {
custom: {
50: '#aa81ec',
500: '#7c4ce2',
950: '#000000',
},
}SCSS
$custom: #7c4ce2; $custom-light: #aa81ec; $custom-dark: #000000;
JSON
{
"hex": "#7c4ce2",
"rgb": {
"r": 124,
"g": 76,
"b": 226
},
"hsl": {
"h": 259.2,
"s": 72.115,
"l": 59.216
},
"oklch": {
"l": 0.55392,
"c": 0.21506,
"h": 292.7
},
"luminance": 0.14945
}Semantic roles & 50–950 ramp
primary
#7C4CE2
secondary
#CFE2A8
accent
#EF39B5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84