#7C5CF2#7C5CF2
#7C5CF2 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.9% C 0.214 H 287.8°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5CF2 |
|---|---|
| RGB | rgb(124, 92, 242) |
| HSL | hsl(253, 85%, 65%) |
| HSV | hsv(253, 62%, 95%) |
| CMYK | cmyk(48.8%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(49.92, 49.21, -71.26) |
| CIE-LCH | lch(49.92, 86.60, 304.63°) |
| OKLab | oklab(58.91% 0.0654 -0.2041) |
| OKLCH | oklch(58.91% 0.214 287.8) |
| XYZ | xyz(28.1617, 18.3489, 86.0450) |
| Luminance | 0.1835 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.27
Mediumslateblue
#7B68EE
ΔE00 3.35
Light Indigo
#6D5ACF
ΔE00 5.59
Dark Periwinkle
#665FD1
ΔE00 6.00
Slate Blue
#6A5ACD
ΔE00 6.09
Lighter Purple
#A55AF4
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5CF2 #D2F25C
analogous
#5C87F2 #7C5CF2 #C75CF2
triadic
#7C5CF2 #F27C5C #5CF27C
tetradic
#7C5CF2 #F25C87 #D2F25C #5CF2C7
square
#7C5CF2 #F25C87 #D2F25C #5CF2C7
split-complementary
#7C5CF2 #F2C75C #87F25C
monochromatic
#3610C4 #4E23ED #7C5CF2 #AA95F7 #D7CDFB
Accessibility & contrast
On white
4.50
#7C5CF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#7C5CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C5CF2
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C5CF2 | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#53809F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7c5cf2; /* rgb */ color: rgb(124, 92, 242); /* oklch */ color: oklch(58.9% 0.214 287.8);
Tailwind
colors: {
custom: {
50: '#aa8cf7',
500: '#7c5cf2',
950: '#000000',
},
}SCSS
$custom: #7c5cf2; $custom-light: #aa8cf7; $custom-dark: #000000;
JSON
{
"hex": "#7c5cf2",
"rgb": {
"r": 124,
"g": 92,
"b": 242
},
"hsl": {
"h": 252.8,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.58913,
"c": 0.21429,
"h": 287.8
},
"luminance": 0.1835
}Semantic roles & 50–950 ramp
primary
#7C5CF2
secondary
#E3EEBC
accent
#E204B2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85