#7A5AEB#7A5AEB
#7A5AEB is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 57.9% C 0.208 H 288.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5AEB |
|---|---|
| RGB | rgb(122, 90, 235) |
| HSL | hsl(253, 78%, 64%) |
| HSV | hsv(253, 62%, 92%) |
| CMYK | cmyk(48.1%, 61.7%, 0%, 7.8%) |
| CIE-LAB | lab(48.82, 47.96, -69.12) |
| CIE-LCH | lch(48.82, 84.13, 304.76°) |
| OKLab | oklab(57.91% 0.0653 -0.1979) |
| OKLCH | oklch(57.91% 0.208 288.3) |
| XYZ | xyz(26.6733, 17.4469, 80.5433) |
| Luminance | 0.1745 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.73
Mediumslateblue
#7B68EE
ΔE00 4.07
Light Indigo
#6D5ACF
ΔE00 4.51
Slate Blue
#6A5ACD
ΔE00 5.03
Dark Periwinkle
#665FD1
ΔE00 5.23
Iris
#6258C4
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5AEB #CBEB5A
analogous
#5A82EB #7A5AEB #C25AEB
triadic
#7A5AEB #EB7A5A #5AEB7A
tetradic
#7A5AEB #EB5A82 #CBEB5A #5AEBC2
square
#7A5AEB #EB5A82 #CBEB5A #5AEBC2
split-complementary
#7A5AEB #EBC25A #82EB5A
monochromatic
#3916B5 #4E23E4 #7A5AEB #A691F2 #D2C7F8
Accessibility & contrast
On white
4.68
#7A5AEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#7A5AEB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5AEB
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5AEB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5AEB | 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)
#0077F0
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#547C9A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7a5aeb; /* rgb */ color: rgb(122, 90, 235); /* oklch */ color: oklch(57.9% 0.208 288.3);
Tailwind
colors: {
custom: {
50: '#a98af2',
500: '#7a5aeb',
950: '#000000',
},
}SCSS
$custom: #7a5aeb; $custom-light: #a98af2; $custom-dark: #000000;
JSON
{
"hex": "#7a5aeb",
"rgb": {
"r": 122,
"g": 90,
"b": 235
},
"hsl": {
"h": 253.241,
"s": 78.378,
"l": 63.725
},
"oklch": {
"l": 0.57912,
"c": 0.20838,
"h": 288.3
},
"luminance": 0.17448
}Semantic roles & 50–950 ramp
primary
#7A5AEB
secondary
#DFEAB7
accent
#DB0BAD
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C17
muted
#807D85