#7A62EC#7A62EC
#7A62EC is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.2% C 0.199 H 286.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7A62EC |
|---|---|
| RGB | rgb(122, 98, 236) |
| HSL | hsl(250, 78%, 65%) |
| HSV | hsv(250, 58%, 93%) |
| CMYK | cmyk(48.3%, 58.5%, 0%, 7.5%) |
| CIE-LAB | lab(50.60, 43.74, -66.79) |
| CIE-LCH | lch(50.60, 79.84, 303.22°) |
| OKLab | oklab(59.24% 0.057 -0.191) |
| OKLCH | oklch(59.24% 0.199 286.6) |
| XYZ | xyz(27.5296, 18.9278, 81.5435) |
| Luminance | 0.1893 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.81
Purpley
#8756E4
ΔE00 4.25
Dark Periwinkle
#665FD1
ΔE00 5.29
Light Indigo
#6D5ACF
ΔE00 5.37
Slate Blue
#6A5ACD
ΔE00 5.81
Mediumpurple
#9370DB
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A62EC #D4EC62
analogous
#628FEC #7A62EC #BF62EC
triadic
#7A62EC #EC7A62 #62EC7A
tetradic
#7A62EC #EC628F #D4EC62 #62ECBF
square
#7A62EC #EC628F #D4EC62 #62ECBF
split-complementary
#7A62EC #ECBF62 #8FEC62
monochromatic
#3417BD #4C2BE5 #7A62EC #A899F3 #D6CFF9
Accessibility & contrast
On white
4.39
#7A62EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.79
#7A62EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A62EC
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A62EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A62EC | 1.00 | 4.39 | 4.79 | 4.79 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF1
Deuteranopia (green-blind)
#0075E9
Tritanopia (blue-blind)
#52829E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7a62ec; /* rgb */ color: rgb(122, 98, 236); /* oklch */ color: oklch(59.2% 0.199 286.6);
Tailwind
colors: {
custom: {
50: '#a88ff3',
500: '#7a62ec',
950: '#000000',
},
}SCSS
$custom: #7a62ec; $custom-light: #a88ff3; $custom-dark: #000000;
JSON
{
"hex": "#7a62ec",
"rgb": {
"r": 122,
"g": 98,
"b": 236
},
"hsl": {
"h": 250.435,
"s": 78.409,
"l": 65.49
},
"oklch": {
"l": 0.59239,
"c": 0.19932,
"h": 286.6
},
"luminance": 0.18929
}Semantic roles & 50–950 ramp
primary
#7A62EC
secondary
#E4ECBE
accent
#DB0BB7
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#100C17
muted
#7F7D85