#7E62F1#7E62F1
#7E62F1 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 59.9% C 0.205 H 287.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7E62F1 |
|---|---|
| RGB | rgb(126, 98, 241) |
| HSL | hsl(252, 84%, 66%) |
| HSV | hsv(252, 59%, 95%) |
| CMYK | cmyk(47.7%, 59.3%, 0%, 5.5%) |
| CIE-LAB | lab(51.29, 45.96, -68.46) |
| CIE-LCH | lch(51.29, 82.46, 303.87°) |
| OKLab | oklab(59.94% 0.0619 -0.1958) |
| OKLCH | oklch(59.94% 0.205 287.5) |
| XYZ | xyz(28.8444, 19.5206, 85.4500) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.81
Purpley
#8756E4
ΔE00 4.22
Light Indigo
#6D5ACF
ΔE00 6.23
Dark Periwinkle
#665FD1
ΔE00 6.26
Mediumpurple
#9370DB
ΔE00 6.60
Slate Blue
#6A5ACD
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E62F1 #D5F162
analogous
#628EF1 #7E62F1 #C662F1
triadic
#7E62F1 #F17E62 #62F17E
tetradic
#7E62F1 #F1628E #D5F162 #62F1C6
square
#7E62F1 #F1628E #D5F162 #62F1C6
split-complementary
#7E62F1 #F1C662 #8EF162
monochromatic
#3512C7 #502AEC #7E62F1 #AC9AF6 #DAD2FB
Accessibility & contrast
On white
4.28
#7E62F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#7E62F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E62F1
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E62F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E62F1 | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#0076EE
Tritanopia (blue-blind)
#5783A0
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7e62f1; /* rgb */ color: rgb(126, 98, 241); /* oklch */ color: oklch(59.9% 0.205 287.5);
Tailwind
colors: {
custom: {
50: '#ab90f7',
500: '#7e62f1',
950: '#000000',
},
}SCSS
$custom: #7e62f1; $custom-light: #ab90f7; $custom-dark: #000000;
JSON
{
"hex": "#7e62f1",
"rgb": {
"r": 126,
"g": 98,
"b": 241
},
"hsl": {
"h": 251.748,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.59937,
"c": 0.20533,
"h": 287.5
},
"luminance": 0.19522
}Semantic roles & 50–950 ramp
primary
#7E62F1
secondary
#E6EFC0
accent
#E005B5
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85