#7A45E2#7A45E2
#7A45E2 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.3% C 0.223 H 292.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7A45E2 |
|---|---|
| RGB | rgb(122, 69, 226) |
| HSL | hsl(260, 73%, 58%) |
| HSV | hsv(260, 69%, 89%) |
| CMYK | cmyk(46%, 69.5%, 0%, 11.4%) |
| CIE-LAB | lab(44.07, 56.59, -71.77) |
| CIE-LCH | lch(44.07, 91.39, 308.25°) |
| OKLab | oklab(54.28% 0.0869 -0.2056) |
| OKLCH | oklch(54.28% 0.223 292.9) |
| XYZ | xyz(23.8778, 13.8840, 73.3586) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.65
Purpleish Blue
#6140EF
ΔE00 3.97
Blueviolet
#8A2BE2
ΔE00 4.55
Burple
#6832E3
ΔE00 4.84
Purpley
#8756E4
ΔE00 4.88
Purpley Blue
#5F34E7
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A45E2 #ADE245
analogous
#455EE2 #7A45E2 #C945E2
triadic
#7A45E2 #E27A45 #45E27A
tetradic
#7A45E2 #E2455E #ADE245 #45E2C9
square
#7A45E2 #E2455E #ADE245 #45E2C9
split-complementary
#7A45E2 #E2C945 #5EE245
monochromatic
#421795 #5920CA #7A45E2 #A07AEA #C6AFF3
Accessibility & contrast
On white
5.56
#7A45E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#7A45E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A45E2
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A45E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A45E2 | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#5B6D8F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #7a45e2; /* rgb */ color: rgb(122, 69, 226); /* oklch */ color: oklch(54.3% 0.223 292.9);
Tailwind
colors: {
custom: {
50: '#a97dec',
500: '#7a45e2',
950: '#000000',
},
}SCSS
$custom: #7a45e2; $custom-light: #a97dec; $custom-dark: #000000;
JSON
{
"hex": "#7a45e2",
"rgb": {
"r": 122,
"g": 69,
"b": 226
},
"hsl": {
"h": 260.255,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.54277,
"c": 0.22321,
"h": 292.9
},
"luminance": 0.13885
}Semantic roles & 50–950 ramp
primary
#7A45E2
secondary
#CCE1A2
accent
#F038B2
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84