#7562F4#7562F4
#7562F4 is a mid, highly saturated blue. Relative luminance 0.190; OKLCH L 59.4% C 0.210 H 283.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7562F4 |
|---|---|
| RGB | rgb(117, 98, 244) |
| HSL | hsl(248, 87%, 67%) |
| HSV | hsv(248, 60%, 96%) |
| CMYK | cmyk(52%, 59.8%, 0%, 4.3%) |
| CIE-LAB | lab(50.74, 45.12, -71.06) |
| CIE-LCH | lch(50.74, 84.17, 302.41°) |
| OKLab | oklab(59.42% 0.0504 -0.2037) |
| OKLCH | oklch(59.42% 0.21 283.9) |
| XYZ | xyz(28.0280, 19.0474, 87.7700) |
| Luminance | 0.1905 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.01
Purpley
#8756E4
ΔE00 5.18
Dark Periwinkle
#665FD1
ΔE00 5.66
Light Indigo
#6D5ACF
ΔE00 6.03
Slate Blue
#6A5ACD
ΔE00 6.40
Cornflower
#6A79F7
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7562F4 #E1F462
analogous
#6298F4 #7562F4 #BE62F4
triadic
#7562F4 #F47562 #62F475
tetradic
#7562F4 #F46298 #E1F462 #62F4BE
square
#7562F4 #F46298 #E1F462 #62F4BE
split-complementary
#7562F4 #F4BE62 #98F462
monochromatic
#270ECD #4329F0 #7562F4 #A79BF8 #DAD4FC
Accessibility & contrast
On white
4.37
#7562F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#7562F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7562F4
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7562F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7562F4 | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 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)
#007DF9
Deuteranopia (green-blind)
#0074F1
Tritanopia (blue-blind)
#4185A2
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7562f4; /* rgb */ color: rgb(117, 98, 244); /* oklch */ color: oklch(59.4% 0.210 283.9);
Tailwind
colors: {
custom: {
50: '#a68ff9',
500: '#7562f4',
950: '#000000',
},
}SCSS
$custom: #7562f4; $custom-light: #a68ff9; $custom-dark: #000000;
JSON
{
"hex": "#7562f4",
"rgb": {
"r": 117,
"g": 98,
"b": 244
},
"hsl": {
"h": 247.808,
"s": 86.905,
"l": 67.059
},
"oklch": {
"l": 0.59416,
"c": 0.20985,
"h": 283.9
},
"luminance": 0.19049
}Semantic roles & 50–950 ramp
primary
#7562F4
secondary
#EAF0C2
accent
#E302C6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C17
muted
#7F7D85