#7E62F7#7E62F7
#7E62F7 is a mid, highly saturated violet. Relative luminance 0.199; OKLCH L 60.4% C 0.213 H 286.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7E62F7 |
|---|---|
| RGB | rgb(126, 98, 247) |
| HSL | hsl(251, 90%, 68%) |
| HSV | hsv(251, 60%, 97%) |
| CMYK | cmyk(49%, 60.3%, 0%, 3.1%) |
| CIE-LAB | lab(51.71, 47.66, -71.13) |
| CIE-LCH | lch(51.71, 85.63, 303.82°) |
| OKLab | oklab(60.37% 0.0616 -0.2036) |
| OKLCH | oklch(60.37% 0.213 286.8) |
| XYZ | xyz(29.7554, 19.8850, 90.2480) |
| Luminance | 0.1989 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.02
Purpley
#8756E4
ΔE00 4.69
Dark Periwinkle
#665FD1
ΔE00 6.86
Light Indigo
#6D5ACF
ΔE00 6.91
Lighter Purple
#A55AF4
ΔE00 6.92
Mediumpurple
#9370DB
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E62F7 #DBF762
analogous
#6291F7 #7E62F7 #C862F7
triadic
#7E62F7 #F77E62 #62F77E
tetradic
#7E62F7 #F76291 #DBF762 #62F7C8
square
#7E62F7 #F76291 #DBF762 #62F7C8
split-complementary
#7E62F7 #F7C862 #91F762
monochromatic
#310BD4 #4E28F4 #7E62F7 #AE9CFA #DED6FD
Accessibility & contrast
On white
4.22
#7E62F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#7E62F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E62F7
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E62F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E62F7 | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FFC
Deuteranopia (green-blind)
#0077F4
Tritanopia (blue-blind)
#5385A3
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7e62f7; /* rgb */ color: rgb(126, 98, 247); /* oklch */ color: oklch(60.4% 0.213 286.8);
Tailwind
colors: {
custom: {
50: '#ac90fb',
500: '#7e62f7',
950: '#000000',
},
}SCSS
$custom: #7e62f7; $custom-light: #ac90fb; $custom-dark: #000000;
JSON
{
"hex": "#7e62f7",
"rgb": {
"r": 126,
"g": 98,
"b": 247
},
"hsl": {
"h": 251.275,
"s": 90.303,
"l": 67.647
},
"oklch": {
"l": 0.60373,
"c": 0.21275,
"h": 286.8
},
"luminance": 0.19886
}Semantic roles & 50–950 ramp
primary
#7E62F7
secondary
#E9F2C3
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85