#7E62F5#7E62F5
#7E62F5 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.2% C 0.210 H 287.1°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7E62F5 |
|---|---|
| RGB | rgb(126, 98, 245) |
| HSL | hsl(251, 88%, 67%) |
| HSV | hsv(251, 60%, 96%) |
| CMYK | cmyk(48.6%, 60%, 0%, 3.9%) |
| CIE-LAB | lab(51.57, 47.10, -70.25) |
| CIE-LCH | lch(51.57, 84.57, 303.84°) |
| OKLab | oklab(60.23% 0.0617 -0.201) |
| OKLCH | oklch(60.23% 0.21 287.1) |
| XYZ | xyz(29.4485, 19.7622, 88.6313) |
| Luminance | 0.1976 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.92
Purpley
#8756E4
ΔE00 4.53
Dark Periwinkle
#665FD1
ΔE00 6.65
Light Indigo
#6D5ACF
ΔE00 6.68
Mediumpurple
#9370DB
ΔE00 6.84
Lighter Purple
#A55AF4
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E62F5 #D9F562
analogous
#628FF5 #7E62F5 #C862F5
triadic
#7E62F5 #F57E62 #62F57E
tetradic
#7E62F5 #F5628F #D9F562 #62F5C8
square
#7E62F5 #F5628F #D9F562 #62F5C8
split-complementary
#7E62F5 #F5C862 #8FF562
monochromatic
#320DCF #4F28F1 #7E62F5 #AD9CF9 #DDD5FC
Accessibility & contrast
On white
4.24
#7E62F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#7E62F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E62F5
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E62F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E62F5 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FFA
Deuteranopia (green-blind)
#0077F2
Tritanopia (blue-blind)
#5484A2
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7e62f5; /* rgb */ color: rgb(126, 98, 245); /* oklch */ color: oklch(60.2% 0.210 287.1);
Tailwind
colors: {
custom: {
50: '#ac90f9',
500: '#7e62f5',
950: '#000000',
},
}SCSS
$custom: #7e62f5; $custom-light: #ac90f9; $custom-dark: #000000;
JSON
{
"hex": "#7e62f5",
"rgb": {
"r": 126,
"g": 98,
"b": 245
},
"hsl": {
"h": 251.429,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.60227,
"c": 0.21029,
"h": 287.1
},
"luminance": 0.19764
}Semantic roles & 50–950 ramp
primary
#7E62F5
secondary
#E8F1C2
accent
#E501B9
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85