#7E62F0#7E62F0
#7E62F0 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 59.9% C 0.204 H 287.7°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7E62F0 |
|---|---|
| RGB | rgb(126, 98, 240) |
| HSL | hsl(252, 83%, 66%) |
| HSV | hsv(252, 59%, 94%) |
| CMYK | cmyk(47.5%, 59.2%, 0%, 5.9%) |
| CIE-LAB | lab(51.22, 45.67, -68.01) |
| CIE-LCH | lch(51.22, 81.93, 303.88°) |
| OKLab | oklab(59.87% 0.0619 -0.1945) |
| OKLCH | oklch(59.87% 0.204 287.7) |
| XYZ | xyz(28.6955, 19.4610, 84.6655) |
| Luminance | 0.1946 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.81
Purpley
#8756E4
ΔE00 4.15
Light Indigo
#6D5ACF
ΔE00 6.12
Dark Periwinkle
#665FD1
ΔE00 6.17
Mediumpurple
#9370DB
ΔE00 6.55
Slate Blue
#6A5ACD
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E62F0 #D4F062
analogous
#628DF0 #7E62F0 #C562F0
triadic
#7E62F0 #F07E62 #62F07E
tetradic
#7E62F0 #F0628D #D4F062 #62F0C5
square
#7E62F0 #F0628D #D4F062 #62F0C5
split-complementary
#7E62F0 #F0C562 #8DF062
monochromatic
#3613C5 #502AEB #7E62F0 #AC9AF5 #DAD2FB
Accessibility & contrast
On white
4.29
#7E62F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.89
#7E62F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E62F0
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E62F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E62F0 | 1.00 | 4.29 | 4.89 | 4.89 |
| #FFFFFF | 4.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#0076ED
Tritanopia (blue-blind)
#5883A0
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e62f0; /* rgb */ color: rgb(126, 98, 240); /* oklch */ color: oklch(59.9% 0.204 287.7);
Tailwind
colors: {
custom: {
50: '#ab90f6',
500: '#7e62f0',
950: '#000000',
},
}SCSS
$custom: #7e62f0; $custom-light: #ab90f6; $custom-dark: #000000;
JSON
{
"hex": "#7e62f0",
"rgb": {
"r": 126,
"g": 98,
"b": 240
},
"hsl": {
"h": 251.831,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.59865,
"c": 0.20408,
"h": 287.7
},
"luminance": 0.19462
}Semantic roles & 50–950 ramp
primary
#7E62F0
secondary
#E5EEC0
accent
#DF07B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85