#7C5BE5#7C5BE5
#7C5BE5 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.8% C 0.200 H 289.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5BE5 |
|---|---|
| RGB | rgb(124, 91, 229) |
| HSL | hsl(254, 73%, 63%) |
| HSV | hsv(254, 60%, 90%) |
| CMYK | cmyk(45.9%, 60.3%, 0%, 10.2%) |
| CIE-LAB | lab(48.79, 46.11, -65.78) |
| CIE-LCH | lch(48.79, 80.33, 305.03°) |
| OKLab | oklab(57.8% 0.0673 -0.188) |
| OKLCH | oklch(57.8% 0.2 289.7) |
| XYZ | xyz(26.1921, 17.4234, 76.0965) |
| Luminance | 0.1742 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.33
Light Indigo
#6D5ACF
ΔE00 4.08
Mediumslateblue
#7B68EE
ΔE00 4.11
Slate Blue
#6A5ACD
ΔE00 4.65
Dark Periwinkle
#665FD1
ΔE00 4.98
Iris
#6258C4
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5BE5 #C4E55B
analogous
#5B7FE5 #7C5BE5 #C15BE5
triadic
#7C5BE5 #E57C5B #5BE57C
tetradic
#7C5BE5 #E55B7F #C4E55B #5BE5C1
square
#7C5BE5 #E55B7F #C4E55B #5BE5C1
split-complementary
#7C5BE5 #E5C15B #7FE55B
monochromatic
#3D1BAB #5226DD #7C5BE5 #A690ED #D0C5F6
Accessibility & contrast
On white
4.68
#7C5BE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#7C5BE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C5BE5
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5BE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C5BE5 | 1.00 | 4.68 | 4.48 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#0071E2
Tritanopia (blue-blind)
#5B7B97
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7c5be5; /* rgb */ color: rgb(124, 91, 229); /* oklch */ color: oklch(57.8% 0.200 289.7);
Tailwind
colors: {
custom: {
50: '#a98bee',
500: '#7c5be5',
950: '#000000',
},
}SCSS
$custom: #7c5be5; $custom-light: #a98bee; $custom-dark: #000000;
JSON
{
"hex": "#7c5be5",
"rgb": {
"r": 124,
"g": 91,
"b": 229
},
"hsl": {
"h": 254.348,
"s": 72.632,
"l": 62.745
},
"oklch": {
"l": 0.57801,
"c": 0.19965,
"h": 289.7
},
"luminance": 0.17424
}Semantic roles & 50–950 ramp
primary
#7C5BE5
secondary
#DBE7B5
accent
#D511A6
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84