#7E62BB#7E62BB
#7E62BB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.4% C 0.135 H 296.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7E62BB |
|---|---|
| RGB | rgb(126, 98, 187) |
| HSL | hsl(259, 40%, 56%) |
| HSV | hsv(259, 48%, 73%) |
| CMYK | cmyk(32.6%, 47.6%, 0%, 26.7%) |
| CIE-LAB | lab(47.95, 31.05, -43.09) |
| CIE-LCH | lch(47.95, 53.11, 305.78°) |
| OKLab | oklab(56.4% 0.06 -0.1213) |
| OKLCH | oklch(56.4% 0.135 296.3) |
| XYZ | xyz(21.9393, 16.7585, 49.0829) |
| Luminance | 0.1676 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.00
Light Indigo
#6D5ACF
ΔE00 5.76
Royal Purple
#7851A9
ΔE00 5.88
Slate Blue
#6A5ACD
ΔE00 5.99
Amethyst
#9B5FC0
ΔE00 6.41
Deep Lilac
#966EBD
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E62BB #9FBB62
analogous
#6272BB #7E62BB #AA62BB
triadic
#7E62BB #BB7E62 #62BB7E
tetradic
#7E62BB #BB6272 #9FBB62 #62BBAA
square
#7E62BB #BB6272 #9FBB62 #62BBAA
split-complementary
#7E62BB #BBAA62 #72BB62
monochromatic
#453171 #5F449C #7E62BB #A18DCD #C4B7E0
Accessibility & contrast
On white
4.83
#7E62BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#7E62BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E62BB
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E62BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E62BB | 1.00 | 4.83 | 4.35 | 4.83 |
| #FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4472BE
Deuteranopia (green-blind)
#4A71B9
Tritanopia (blue-blind)
#717385
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7e62bb; /* rgb */ color: rgb(126, 98, 187); /* oklch */ color: oklch(56.4% 0.135 296.3);
Tailwind
colors: {
custom: {
50: '#a68fd0',
500: '#7e62bb',
950: '#000000',
},
}SCSS
$custom: #7e62bb; $custom-light: #a68fd0; $custom-dark: #000000;
JSON
{
"hex": "#7e62bb",
"rgb": {
"r": 126,
"g": 98,
"b": 187
},
"hsl": {
"h": 258.876,
"s": 39.556,
"l": 55.882
},
"oklch": {
"l": 0.56396,
"c": 0.1353,
"h": 296.3
},
"luminance": 0.16759
}Semantic roles & 50–950 ramp
primary
#7E62BB
secondary
#C3CFAA
accent
#CF58AA
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82