#7C5DF2#7C5DF2
#7C5DF2 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.213 H 287.6°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5DF2 |
|---|---|
| RGB | rgb(124, 93, 242) |
| HSL | hsl(252, 85%, 66%) |
| HSV | hsv(252, 62%, 95%) |
| CMYK | cmyk(48.8%, 61.6%, 0%, 5.1%) |
| CIE-LAB | lab(50.12, 48.66, -70.92) |
| CIE-LCH | lch(50.12, 86.00, 304.45°) |
| OKLab | oklab(59.06% 0.0644 -0.2031) |
| OKLCH | oklch(59.06% 0.213 287.6) |
| XYZ | xyz(28.2489, 18.5233, 86.0741) |
| Luminance | 0.1852 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.09
Purpley
#8756E4
ΔE00 3.43
Light Indigo
#6D5ACF
ΔE00 5.66
Dark Periwinkle
#665FD1
ΔE00 5.99
Slate Blue
#6A5ACD
ΔE00 6.15
Lighter Purple
#A55AF4
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5DF2 #D3F25D
analogous
#5D88F2 #7C5DF2 #C65DF2
triadic
#7C5DF2 #F27C5D #5DF27C
tetradic
#7C5DF2 #F25D88 #D3F25D #5DF2C6
square
#7C5DF2 #F25D88 #D3F25D #5DF2C6
split-complementary
#7C5DF2 #F2C65D #88F25D
monochromatic
#3510C5 #4E24ED #7C5DF2 #AA96F7 #D8CEFB
Accessibility & contrast
On white
4.46
#7C5DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#7C5DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C5DF2
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C5DF2 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#0073EF
Tritanopia (blue-blind)
#53809F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7c5df2; /* rgb */ color: rgb(124, 93, 242); /* oklch */ color: oklch(59.1% 0.213 287.6);
Tailwind
colors: {
custom: {
50: '#aa8cf7',
500: '#7c5df2',
950: '#000000',
},
}SCSS
$custom: #7c5df2; $custom-light: #aa8cf7; $custom-dark: #000000;
JSON
{
"hex": "#7c5df2",
"rgb": {
"r": 124,
"g": 93,
"b": 242
},
"hsl": {
"h": 252.483,
"s": 85.143,
"l": 65.686
},
"oklch": {
"l": 0.59064,
"c": 0.21305,
"h": 287.6
},
"luminance": 0.18525
}Semantic roles & 50–950 ramp
primary
#7C5DF2
secondary
#E4EEBD
accent
#E204B3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85