#7A5CE5#7A5CE5
#7A5CE5 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.8% C 0.198 H 288.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5CE5 |
|---|---|
| RGB | rgb(122, 92, 229) |
| HSL | hsl(253, 72%, 63%) |
| HSV | hsv(253, 60%, 90%) |
| CMYK | cmyk(46.7%, 59.8%, 0%, 10.2%) |
| CIE-LAB | lab(48.82, 45.15, -65.74) |
| CIE-LCH | lch(48.82, 79.75, 304.48°) |
| OKLab | oklab(57.78% 0.0636 -0.1879) |
| OKLCH | oklch(57.78% 0.198 288.7) |
| XYZ | xyz(25.9920, 17.4480, 76.1118) |
| Luminance | 0.1745 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.77
Mediumslateblue
#7B68EE
ΔE00 3.84
Light Indigo
#6D5ACF
ΔE00 3.92
Slate Blue
#6A5ACD
ΔE00 4.46
Dark Periwinkle
#665FD1
ΔE00 4.65
Iris
#6258C4
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5CE5 #C7E55C
analogous
#5C82E5 #7A5CE5 #BF5CE5
triadic
#7A5CE5 #E57A5C #5CE57A
tetradic
#7A5CE5 #E55C82 #C7E55C #5CE5BF
square
#7A5CE5 #E55C82 #C7E55C #5CE5BF
split-complementary
#7A5CE5 #E5BF5C #82E55C
monochromatic
#3B1BAB #4F27DD #7A5CE5 #A591ED #D0C6F6
Accessibility & contrast
On white
4.68
#7A5CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#7A5CE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5CE5
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5CE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5CE5 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 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)
#577C98
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7a5ce5; /* rgb */ color: rgb(122, 92, 229); /* oklch */ color: oklch(57.8% 0.198 288.7);
Tailwind
colors: {
custom: {
50: '#a88bee',
500: '#7a5ce5',
950: '#000000',
},
}SCSS
$custom: #7a5ce5; $custom-light: #a88bee; $custom-dark: #000000;
JSON
{
"hex": "#7a5ce5",
"rgb": {
"r": 122,
"g": 92,
"b": 229
},
"hsl": {
"h": 253.139,
"s": 72.487,
"l": 62.941
},
"oklch": {
"l": 0.5778,
"c": 0.19839,
"h": 288.7
},
"luminance": 0.17449
}Semantic roles & 50–950 ramp
primary
#7A5CE5
secondary
#DCE7B6
accent
#D511AA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84