#7E62BF#7E62BF
#7E62BF is a mid, vivid violet. Relative luminance 0.169; OKLCH L 56.6% C 0.141 H 295.4°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7E62BF |
|---|---|
| RGB | rgb(126, 98, 191) |
| HSL | hsl(258, 42%, 57%) |
| HSV | hsv(258, 49%, 75%) |
| CMYK | cmyk(34%, 48.7%, 0%, 25.1%) |
| CIE-LAB | lab(48.17, 32.11, -45.05) |
| CIE-LCH | lch(48.17, 55.32, 305.48°) |
| OKLab | oklab(56.63% 0.0604 -0.127) |
| OKLCH | oklch(56.63% 0.141 295.4) |
| XYZ | xyz(22.3735, 16.9322, 51.3696) |
| Luminance | 0.1693 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 4.34
Light Indigo
#6D5ACF
ΔE00 5.23
Slate Blue
#6A5ACD
ΔE00 5.49
Dark Periwinkle
#665FD1
ΔE00 6.12
Royal Purple
#7851A9
ΔE00 6.23
Iris
#6258C4
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E62BF #A3BF62
analogous
#6275BF #7E62BF #AD62BF
triadic
#7E62BF #BF7E62 #62BF7E
tetradic
#7E62BF #BF6275 #A3BF62 #62BFAD
square
#7E62BF #BF6275 #A3BF62 #62BFAD
split-complementary
#7E62BF #BFAD62 #75BF62
monochromatic
#453076 #5F42A2 #7E62BF #A28DD1 #C5B9E2
Accessibility & contrast
On white
4.79
#7E62BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#7E62BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E62BF
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E62BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E62BF | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4173C2
Deuteranopia (green-blind)
#4771BD
Tritanopia (blue-blind)
#6F7487
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7e62bf; /* rgb */ color: rgb(126, 98, 191); /* oklch */ color: oklch(56.6% 0.141 295.4);
Tailwind
colors: {
custom: {
50: '#a68fd3',
500: '#7e62bf',
950: '#000000',
},
}SCSS
$custom: #7e62bf; $custom-light: #a68fd3; $custom-dark: #000000;
JSON
{
"hex": "#7e62bf",
"rgb": {
"r": 126,
"g": 98,
"b": 191
},
"hsl": {
"h": 258.065,
"s": 42.081,
"l": 56.667
},
"oklch": {
"l": 0.56632,
"c": 0.14068,
"h": 295.4
},
"luminance": 0.16933
}Semantic roles & 50–950 ramp
primary
#7E62BF
secondary
#C6D1AB
accent
#D256AD
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83