#7C5AF2#7C5AF2
#7C5AF2 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.6% C 0.217 H 288.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5AF2 |
|---|---|
| RGB | rgb(124, 90, 242) |
| HSL | hsl(253, 85%, 65%) |
| HSV | hsv(253, 63%, 95%) |
| CMYK | cmyk(48.8%, 62.8%, 0%, 5.1%) |
| CIE-LAB | lab(49.50, 50.31, -71.93) |
| CIE-LCH | lch(49.50, 87.77, 304.97°) |
| OKLab | oklab(58.61% 0.0673 -0.206) |
| OKLCH | oklch(58.61% 0.217 288.1) |
| XYZ | xyz(27.9907, 18.0070, 85.9880) |
| Luminance | 0.1801 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.00
Mediumslateblue
#7B68EE
ΔE00 3.88
Light Indigo
#6D5ACF
ΔE00 5.49
Slate Blue
#6A5ACD
ΔE00 5.99
Dark Periwinkle
#665FD1
ΔE00 6.06
Lighter Purple
#A55AF4
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5AF2 #D0F25A
analogous
#5A84F2 #7C5AF2 #C85AF2
triadic
#7C5AF2 #F27C5A #5AF27C
tetradic
#7C5AF2 #F25A84 #D0F25A #5AF2C8
square
#7C5AF2 #F25A84 #D0F25A #5AF2C8
split-complementary
#7C5AF2 #F2C85A #84F25A
monochromatic
#370FC2 #4F21EE #7C5AF2 #A993F6 #D6CBFB
Accessibility & contrast
On white
4.56
#7C5AF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#7C5AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C5AF2
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C5AF2 | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079F7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#537E9E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7c5af2; /* rgb */ color: rgb(124, 90, 242); /* oklch */ color: oklch(58.6% 0.217 288.1);
Tailwind
colors: {
custom: {
50: '#ab8af7',
500: '#7c5af2',
950: '#000000',
},
}SCSS
$custom: #7c5af2; $custom-light: #ab8af7; $custom-dark: #000000;
JSON
{
"hex": "#7c5af2",
"rgb": {
"r": 124,
"g": 90,
"b": 242
},
"hsl": {
"h": 253.421,
"s": 85.393,
"l": 65.098
},
"oklch": {
"l": 0.58613,
"c": 0.21678,
"h": 288.1
},
"luminance": 0.18008
}Semantic roles & 50–950 ramp
primary
#7C5AF2
secondary
#E2EEBA
accent
#E204B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85