#7662EA#7662EA
#7662EA is a mid, vivid blue. Relative luminance 0.185; OKLCH L 58.8% C 0.197 H 285.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7662EA |
|---|---|
| RGB | rgb(118, 98, 234) |
| HSL | hsl(249, 76%, 65%) |
| HSV | hsv(249, 58%, 92%) |
| CMYK | cmyk(49.6%, 58.1%, 0%, 8.2%) |
| CIE-LAB | lab(50.13, 42.37, -66.45) |
| CIE-LCH | lch(50.13, 78.81, 302.52°) |
| OKLab | oklab(58.76% 0.052 -0.1901) |
| OKLCH | oklch(58.76% 0.197 285.3) |
| XYZ | xyz(26.6858, 18.5261, 79.9957) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.06
Purpley
#8756E4
ΔE00 4.60
Dark Periwinkle
#665FD1
ΔE00 4.63
Light Indigo
#6D5ACF
ΔE00 4.89
Slate Blue
#6A5ACD
ΔE00 5.29
Iris
#6258C4
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7662EA #D6EA62
analogous
#6292EA #7662EA #BA62EA
triadic
#7662EA #EA7662 #62EA76
tetradic
#7662EA #EA6292 #D6EA62 #62EABA
square
#7662EA #EA6292 #D6EA62 #62EABA
split-complementary
#7662EA #EABA62 #92EA62
monochromatic
#3019B9 #472CE3 #7662EA #A598F1 #D4CEF8
Accessibility & contrast
On white
4.46
#7662EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#7662EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7662EA
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7662EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7662EA | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#4B819D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7662ea; /* rgb */ color: rgb(118, 98, 234); /* oklch */ color: oklch(58.8% 0.197 285.3);
Tailwind
colors: {
custom: {
50: '#a68ff2',
500: '#7662ea',
950: '#000000',
},
}SCSS
$custom: #7662ea; $custom-light: #a68ff2; $custom-dark: #000000;
JSON
{
"hex": "#7662ea",
"rgb": {
"r": 118,
"g": 98,
"b": 234
},
"hsl": {
"h": 248.824,
"s": 76.404,
"l": 65.098
},
"oklch": {
"l": 0.58764,
"c": 0.19711,
"h": 285.3
},
"luminance": 0.18527
}Semantic roles & 50–950 ramp
primary
#7662EA
secondary
#E4EBBD
accent
#D90DBB
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C17
muted
#7F7D85