#7662F8#7662F8
#7662F8 is a mid, highly saturated blue. Relative luminance 0.194; OKLCH L 59.8% C 0.215 H 283.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7662F8 |
|---|---|
| RGB | rgb(118, 98, 248) |
| HSL | hsl(248, 91%, 68%) |
| HSV | hsv(248, 60%, 97%) |
| CMYK | cmyk(52.4%, 60.5%, 0%, 2.7%) |
| CIE-LAB | lab(51.11, 46.48, -72.69) |
| CIE-LCH | lch(51.11, 86.28, 302.60°) |
| OKLab | oklab(59.79% 0.0515 -0.2085) |
| OKLCH | oklch(59.79% 0.215 283.9) |
| XYZ | xyz(28.7770, 19.3626, 91.0097) |
| Luminance | 0.1936 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.12
Purpley
#8756E4
ΔE00 5.35
Dark Periwinkle
#665FD1
ΔE00 6.20
Light Indigo
#6D5ACF
ΔE00 6.56
Slate Blue
#6A5ACD
ΔE00 6.94
Cornflower
#6A79F7
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7662F8 #E4F862
analogous
#6299F8 #7662F8 #C162F8
triadic
#7662F8 #F87662 #62F876
tetradic
#7662F8 #F86299 #E4F862 #62F8C1
square
#7662F8 #F86299 #E4F862 #62F8C1
split-complementary
#7662F8 #F8C162 #99F862
monochromatic
#250AD6 #4327F5 #7662F8 #A99DFB #DCD7FD
Accessibility & contrast
On white
4.31
#7662F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#7662F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7662F8
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7662F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7662F8 | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#0075F5
Tritanopia (blue-blind)
#3F86A4
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #7662f8; /* rgb */ color: rgb(118, 98, 248); /* oklch */ color: oklch(59.8% 0.215 283.9);
Tailwind
colors: {
custom: {
50: '#a78ffc',
500: '#7662f8',
950: '#000000',
},
}SCSS
$custom: #7662f8; $custom-light: #a78ffc; $custom-dark: #000000;
JSON
{
"hex": "#7662f8",
"rgb": {
"r": 118,
"g": 98,
"b": 248
},
"hsl": {
"h": 248,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.59794,
"c": 0.21473,
"h": 283.9
},
"luminance": 0.19364
}Semantic roles & 50–950 ramp
primary
#7662F8
secondary
#ECF2C4
accent
#E600C7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86