#7C5AE6#7C5AE6
#7C5AE6 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.7% C 0.202 H 289.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5AE6 |
|---|---|
| RGB | rgb(124, 90, 230) |
| HSL | hsl(255, 74%, 63%) |
| HSV | hsv(255, 61%, 90%) |
| CMYK | cmyk(46.1%, 60.9%, 0%, 9.8%) |
| CIE-LAB | lab(48.65, 46.95, -66.57) |
| CIE-LCH | lch(48.65, 81.46, 305.19°) |
| OKLab | oklab(57.72% 0.0683 -0.1903) |
| OKLCH | oklch(57.72% 0.202 289.7) |
| XYZ | xyz(26.2472, 17.3096, 76.8057) |
| Luminance | 0.1731 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.22
Light Indigo
#6D5ACF
ΔE00 4.15
Mediumslateblue
#7B68EE
ΔE00 4.31
Slate Blue
#6A5ACD
ΔE00 4.72
Dark Periwinkle
#665FD1
ΔE00 5.11
Iris
#6258C4
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5AE6 #C4E65A
analogous
#5A7EE6 #7C5AE6 #C25AE6
triadic
#7C5AE6 #E67C5A #5AE67C
tetradic
#7C5AE6 #E65A7E #C4E65A #5AE6C2
square
#7C5AE6 #E65A7E #C4E65A #5AE6C2
split-complementary
#7C5AE6 #E6C25A #7EE65A
monochromatic
#3D1AAC #5225DE #7C5AE6 #A68FEE #D0C4F6
Accessibility & contrast
On white
4.71
#7C5AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#7C5AE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C5AE6
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5AE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C5AE6 | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#5B7A98
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7c5ae6; /* rgb */ color: rgb(124, 90, 230); /* oklch */ color: oklch(57.7% 0.202 289.7);
Tailwind
colors: {
custom: {
50: '#a98aef',
500: '#7c5ae6',
950: '#000000',
},
}SCSS
$custom: #7c5ae6; $custom-light: #a98aef; $custom-dark: #000000;
JSON
{
"hex": "#7c5ae6",
"rgb": {
"r": 124,
"g": 90,
"b": 230
},
"hsl": {
"h": 254.571,
"s": 73.684,
"l": 62.745
},
"oklch": {
"l": 0.5772,
"c": 0.20218,
"h": 289.7
},
"luminance": 0.17311
}Semantic roles & 50–950 ramp
primary
#7C5AE6
secondary
#DBE7B5
accent
#D610A6
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85