#7562DF#7562DF
#7562DF is a mid, vivid blue. Relative luminance 0.178; OKLCH L 57.9% C 0.183 H 286.1°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7562DF |
|---|---|
| RGB | rgb(117, 98, 223) |
| HSL | hsl(249, 66%, 63%) |
| HSV | hsv(249, 56%, 87%) |
| CMYK | cmyk(47.5%, 56.1%, 0%, 12.5%) |
| CIE-LAB | lab(49.31, 38.95, -61.58) |
| CIE-LCH | lch(49.31, 72.87, 302.31°) |
| OKLab | oklab(57.9% 0.0509 -0.1758) |
| OKLCH | oklch(57.9% 0.183 286.1) |
| XYZ | xyz(25.0192, 17.8439, 71.9237) |
| Luminance | 0.1784 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.03
Dark Periwinkle
#665FD1
ΔE00 3.46
Light Indigo
#6D5ACF
ΔE00 3.65
Slate Blue
#6A5ACD
ΔE00 4.04
Purpley
#8756E4
ΔE00 4.61
Iris
#6258C4
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7562DF #CCDF62
analogous
#628DDF #7562DF #B362DF
triadic
#7562DF #DF7562 #62DF75
tetradic
#7562DF #DF628D #CCDF62 #62DFB3
square
#7562DF #DF628D #CCDF62 #62DFB3
split-complementary
#7562DF #DFB362 #8DDF62
monochromatic
#3622A5 #482FD5 #7562DF #A295E9 #CEC8F4
Accessibility & contrast
On white
4.60
#7562DF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#7562DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7562DF
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7562DF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7562DF | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0E79E3
Deuteranopia (green-blind)
#0772DC
Tritanopia (blue-blind)
#517E97
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7562df; /* rgb */ color: rgb(117, 98, 223); /* oklch */ color: oklch(57.9% 0.183 286.1);
Tailwind
colors: {
custom: {
50: '#a48fea',
500: '#7562df',
950: '#000000',
},
}SCSS
$custom: #7562df; $custom-light: #a48fea; $custom-dark: #000000;
JSON
{
"hex": "#7562df",
"rgb": {
"r": 117,
"g": 98,
"b": 223
},
"hsl": {
"h": 249.12,
"s": 66.138,
"l": 62.941
},
"oklch": {
"l": 0.57903,
"c": 0.18304,
"h": 286.1
},
"luminance": 0.17845
}Semantic roles & 50–950 ramp
primary
#7562DF
secondary
#DEE5B8
accent
#CE17B2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84