#7D62E4#7D62E4
#7D62E4 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.9% C 0.189 H 288.8°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7D62E4 |
|---|---|
| RGB | rgb(125, 98, 228) |
| HSL | hsl(252, 71%, 64%) |
| HSV | hsv(252, 57%, 89%) |
| CMYK | cmyk(45.2%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(50.33, 42.07, -62.72) |
| CIE-LCH | lch(50.33, 75.52, 303.85°) |
| OKLab | oklab(58.93% 0.0609 -0.1789) |
| OKLCH | oklch(58.93% 0.189 288.8) |
| XYZ | xyz(26.8247, 18.6957, 75.5790) |
| Luminance | 0.1870 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.42
Purpley
#8756E4
ΔE00 3.68
Light Indigo
#6D5ACF
ΔE00 4.80
Dark Periwinkle
#665FD1
ΔE00 5.02
Slate Blue
#6A5ACD
ΔE00 5.30
Mediumpurple
#9370DB
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D62E4 #C9E462
analogous
#6288E4 #7D62E4 #BE62E4
triadic
#7D62E4 #E47D62 #62E47D
tetradic
#7D62E4 #E46288 #C9E462 #62E4BE
square
#7D62E4 #E46288 #C9E462 #62E4BE
split-complementary
#7D62E4 #E4BE62 #88E462
monochromatic
#3C1EAE #522EDB #7D62E4 #A896ED #D3CAF6
Accessibility & contrast
On white
4.43
#7D62E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#7D62E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D62E4
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D62E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D62E4 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#037BE8
Deuteranopia (green-blind)
#0C75E1
Tritanopia (blue-blind)
#5D7F9A
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7d62e4; /* rgb */ color: rgb(125, 98, 228); /* oklch */ color: oklch(58.9% 0.189 288.8);
Tailwind
colors: {
custom: {
50: '#a98fed',
500: '#7d62e4',
950: '#000000',
},
}SCSS
$custom: #7d62e4; $custom-light: #a98fed; $custom-dark: #000000;
JSON
{
"hex": "#7d62e4",
"rgb": {
"r": 125,
"g": 98,
"b": 228
},
"hsl": {
"h": 252.462,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.58932,
"c": 0.18903,
"h": 288.8
},
"luminance": 0.18697
}Semantic roles & 50–950 ramp
primary
#7D62E4
secondary
#DEE8BA
accent
#D313AB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84