#7562BF#7562BF
#7562BF is a mid, vivid violet. Relative luminance 0.163; OKLCH L 55.8% C 0.140 H 290.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7562BF |
|---|---|
| RGB | rgb(117, 98, 191) |
| HSL | hsl(252, 42%, 57%) |
| HSV | hsv(252, 49%, 75%) |
| CMYK | cmyk(38.7%, 48.7%, 0%, 25.1%) |
| CIE-LAB | lab(47.34, 29.77, -46.43) |
| CIE-LCH | lch(47.34, 55.16, 302.66°) |
| OKLab | oklab(55.81% 0.0492 -0.1313) |
| OKLCH | oklch(55.81% 0.14 290.5) |
| XYZ | xyz(21.1052, 16.2783, 51.3101) |
| Luminance | 0.1628 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.02
Slate Blue
#6A5ACD
ΔE00 4.11
Dark Periwinkle
#665FD1
ΔE00 4.46
Iris
#6258C4
ΔE00 4.86
Deep Lavender
#8D5EB7
ΔE00 6.27
Royal Purple
#7851A9
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7562BF #ACBF62
analogous
#627EBF #7562BF #A462BF
triadic
#7562BF #BF7562 #62BF75
tetradic
#7562BF #BF627E #ACBF62 #62BFA4
square
#7562BF #BF627E #ACBF62 #62BFA4
split-complementary
#7562BF #BFA462 #7EBF62
monochromatic
#3F3076 #5642A2 #7562BF #9B8DD1 #C1B9E2
Accessibility & contrast
On white
4.93
#7562BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#7562BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7562BF
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7562BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7562BF | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E72C2
Deuteranopia (green-blind)
#406EBD
Tritanopia (blue-blind)
#617587
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7562bf; /* rgb */ color: rgb(117, 98, 191); /* oklch */ color: oklch(55.8% 0.140 290.5);
Tailwind
colors: {
custom: {
50: '#a08fd3',
500: '#7562bf',
950: '#000000',
},
}SCSS
$custom: #7562bf; $custom-light: #a08fd3; $custom-dark: #000000;
JSON
{
"hex": "#7562bf",
"rgb": {
"r": 117,
"g": 98,
"b": 191
},
"hsl": {
"h": 252.258,
"s": 42.081,
"l": 56.667
},
"oklch": {
"l": 0.55805,
"c": 0.14023,
"h": 290.5
},
"luminance": 0.16279
}Semantic roles & 50–950 ramp
primary
#7562BF
secondary
#CAD1AB
accent
#D256B9
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#0F0C14
muted
#7F7D83