#7662F3#7662F3
#7662F3 is a mid, highly saturated blue. Relative luminance 0.191; OKLCH L 59.4% C 0.208 H 284.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7662F3 |
|---|---|
| RGB | rgb(118, 98, 243) |
| HSL | hsl(248, 86%, 67%) |
| HSV | hsv(248, 60%, 95%) |
| CMYK | cmyk(51.4%, 59.7%, 0%, 4.7%) |
| CIE-LAB | lab(50.75, 45.01, -70.48) |
| CIE-LCH | lch(50.75, 83.63, 302.56°) |
| OKLab | oklab(59.42% 0.0517 -0.202) |
| OKLCH | oklch(59.42% 0.208 284.4) |
| XYZ | xyz(28.0117, 19.0565, 86.9789) |
| Luminance | 0.1906 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.92
Purpley
#8756E4
ΔE00 5.02
Dark Periwinkle
#665FD1
ΔE00 5.63
Light Indigo
#6D5ACF
ΔE00 5.95
Slate Blue
#6A5ACD
ΔE00 6.34
Mediumpurple
#9370DB
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7662F3 #DFF362
analogous
#6297F3 #7662F3 #BF62F3
triadic
#7662F3 #F37662 #62F376
tetradic
#7662F3 #F36297 #DFF362 #62F3BF
square
#7662F3 #F36297 #DFF362 #62F3BF
split-complementary
#7662F3 #F3BF62 #97F362
monochromatic
#2910CB #4429EF #7662F3 #A89BF7 #D9D4FC
Accessibility & contrast
On white
4.36
#7662F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#7662F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7662F3
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7662F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7662F3 | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF8
Deuteranopia (green-blind)
#0074F0
Tritanopia (blue-blind)
#4484A1
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7662f3; /* rgb */ color: rgb(118, 98, 243); /* oklch */ color: oklch(59.4% 0.208 284.4);
Tailwind
colors: {
custom: {
50: '#a78ff8',
500: '#7662f3',
950: '#000000',
},
}SCSS
$custom: #7662f3; $custom-light: #a78ff8; $custom-dark: #000000;
JSON
{
"hex": "#7662f3",
"rgb": {
"r": 118,
"g": 98,
"b": 243
},
"hsl": {
"h": 248.276,
"s": 85.799,
"l": 66.863
},
"oklch": {
"l": 0.59421,
"c": 0.20849,
"h": 284.4
},
"luminance": 0.19058
}Semantic roles & 50–950 ramp
primary
#7662F3
secondary
#E9F0C1
accent
#E203C4
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85