#7A5AEA#7A5AEA
#7A5AEA is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.8% C 0.207 H 288.4°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5AEA |
|---|---|
| RGB | rgb(122, 90, 234) |
| HSL | hsl(253, 77%, 64%) |
| HSV | hsv(253, 62%, 92%) |
| CMYK | cmyk(47.9%, 61.5%, 0%, 8.2%) |
| CIE-LAB | lab(48.75, 47.68, -68.68) |
| CIE-LCH | lch(48.75, 83.61, 304.77°) |
| OKLab | oklab(57.84% 0.0654 -0.1966) |
| OKLCH | oklch(57.84% 0.207 288.4) |
| XYZ | xyz(26.5292, 17.3893, 79.7846) |
| Luminance | 0.1739 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.68
Mediumslateblue
#7B68EE
ΔE00 4.11
Light Indigo
#6D5ACF
ΔE00 4.39
Slate Blue
#6A5ACD
ΔE00 4.92
Dark Periwinkle
#665FD1
ΔE00 5.15
Iris
#6258C4
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5AEA #CAEA5A
analogous
#5A82EA #7A5AEA #C25AEA
triadic
#7A5AEA #EA7A5A #5AEA7A
tetradic
#7A5AEA #EA5A82 #CAEA5A #5AEAC2
square
#7A5AEA #EA5A82 #CAEA5A #5AEAC2
split-complementary
#7A5AEA #EAC25A #82EA5A
monochromatic
#3917B3 #4E24E3 #7A5AEA #A690F1 #D2C7F8
Accessibility & contrast
On white
4.69
#7A5AEA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#7A5AEA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5AEA
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5AEA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5AEA | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077EF
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#547C9A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7a5aea; /* rgb */ color: rgb(122, 90, 234); /* oklch */ color: oklch(57.8% 0.207 288.4);
Tailwind
colors: {
custom: {
50: '#a88af2',
500: '#7a5aea',
950: '#000000',
},
}SCSS
$custom: #7a5aea; $custom-light: #a88af2; $custom-dark: #000000;
JSON
{
"hex": "#7a5aea",
"rgb": {
"r": 122,
"g": 90,
"b": 234
},
"hsl": {
"h": 253.333,
"s": 77.419,
"l": 63.529
},
"oklch": {
"l": 0.57838,
"c": 0.20715,
"h": 288.4
},
"luminance": 0.1739
}Semantic roles & 50–950 ramp
primary
#7A5AEA
secondary
#DEE9B6
accent
#DA0CAC
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85