#7E62F6#7E62F6
#7E62F6 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.3% C 0.212 H 286.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7E62F6 |
|---|---|
| RGB | rgb(126, 98, 246) |
| HSL | hsl(251, 89%, 67%) |
| HSV | hsv(251, 60%, 96%) |
| CMYK | cmyk(48.8%, 60.2%, 0%, 3.5%) |
| CIE-LAB | lab(51.64, 47.38, -70.69) |
| CIE-LCH | lch(51.64, 85.10, 303.83°) |
| OKLab | oklab(60.3% 0.0616 -0.2023) |
| OKLCH | oklch(60.3% 0.212 286.9) |
| XYZ | xyz(29.6015, 19.8234, 89.4375) |
| Luminance | 0.1983 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.96
Purpley
#8756E4
ΔE00 4.61
Dark Periwinkle
#665FD1
ΔE00 6.75
Light Indigo
#6D5ACF
ΔE00 6.79
Mediumpurple
#9370DB
ΔE00 6.90
Lighter Purple
#A55AF4
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E62F6 #DAF662
analogous
#6290F6 #7E62F6 #C862F6
triadic
#7E62F6 #F67E62 #62F67E
tetradic
#7E62F6 #F66290 #DAF662 #62F6C8
square
#7E62F6 #F66290 #DAF662 #62F6C8
split-complementary
#7E62F6 #F6C862 #90F662
monochromatic
#310CD2 #4E28F3 #7E62F6 #AE9CF9 #DDD6FD
Accessibility & contrast
On white
4.23
#7E62F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#7E62F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7E62F6
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E62F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7E62F6 | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FFB
Deuteranopia (green-blind)
#0077F3
Tritanopia (blue-blind)
#5485A3
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #7e62f6; /* rgb */ color: rgb(126, 98, 246); /* oklch */ color: oklch(60.3% 0.212 286.9);
Tailwind
colors: {
custom: {
50: '#ac90fa',
500: '#7e62f6',
950: '#000000',
},
}SCSS
$custom: #7e62f6; $custom-light: #ac90fa; $custom-dark: #000000;
JSON
{
"hex": "#7e62f6",
"rgb": {
"r": 126,
"g": 98,
"b": 246
},
"hsl": {
"h": 251.351,
"s": 89.157,
"l": 67.451
},
"oklch": {
"l": 0.603,
"c": 0.21151,
"h": 286.9
},
"luminance": 0.19825
}Semantic roles & 50–950 ramp
primary
#7E62F6
secondary
#E8F1C3
accent
#E600BA
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85