#7C5CE0#7C5CE0
#7C5CE0 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.192 H 290.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5CE0 |
|---|---|
| RGB | rgb(124, 92, 224) |
| HSL | hsl(255, 68%, 62%) |
| HSV | hsv(255, 59%, 88%) |
| CMYK | cmyk(44.6%, 58.9%, 0%, 12.2%) |
| CIE-LAB | lab(48.66, 44.15, -63.16) |
| CIE-LCH | lch(48.66, 77.06, 304.95°) |
| OKLab | oklab(57.6% 0.0664 -0.1803) |
| OKLCH | oklch(57.6% 0.192 290.2) |
| XYZ | xyz(25.5901, 17.3203, 72.5014) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.46
Light Indigo
#6D5ACF
ΔE00 3.65
Mediumslateblue
#7B68EE
ΔE00 4.22
Slate Blue
#6A5ACD
ΔE00 4.23
Dark Periwinkle
#665FD1
ΔE00 4.64
Iris
#6258C4
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5CE0 #C0E05C
analogous
#5C7EE0 #7C5CE0 #BE5CE0
triadic
#7C5CE0 #E07C5C #5CE07C
tetradic
#7C5CE0 #E05C7E #C0E05C #5CE0BE
square
#7C5CE0 #E05C7E #C0E05C #5CE0BE
split-complementary
#7C5CE0 #E0BE5C #7EE05C
monochromatic
#3F1FA3 #5329D6 #7C5CE0 #A58FEA #CFC3F4
Accessibility & contrast
On white
4.70
#7C5CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#7C5CE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C5CE0
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5CE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C5CE0 | 1.00 | 4.70 | 4.46 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E4
Deuteranopia (green-blind)
#0071DD
Tritanopia (blue-blind)
#5E7A95
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7c5ce0; /* rgb */ color: rgb(124, 92, 224); /* oklch */ color: oklch(57.6% 0.192 290.2);
Tailwind
colors: {
custom: {
50: '#a88bea',
500: '#7c5ce0',
950: '#000000',
},
}SCSS
$custom: #7c5ce0; $custom-light: #a88bea; $custom-dark: #000000;
JSON
{
"hex": "#7c5ce0",
"rgb": {
"r": 124,
"g": 92,
"b": 224
},
"hsl": {
"h": 254.545,
"s": 68.041,
"l": 61.961
},
"oklch": {
"l": 0.57599,
"c": 0.1921,
"h": 290.2
},
"luminance": 0.17321
}Semantic roles & 50–950 ramp
primary
#7C5CE0
secondary
#D8E4B4
accent
#D016A3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84