#7562CB#7562CB
#7562CB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.6% C 0.157 H 288.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7562CB |
|---|---|
| RGB | rgb(117, 98, 203) |
| HSL | hsl(251, 50%, 59%) |
| HSV | hsv(251, 52%, 80%) |
| CMYK | cmyk(42.4%, 51.7%, 0%, 20.4%) |
| CIE-LAB | lab(48.04, 33.17, -52.22) |
| CIE-LCH | lch(48.04, 61.86, 302.42°) |
| OKLab | oklab(56.56% 0.0502 -0.1483) |
| OKLCH | oklch(56.56% 0.157 288.7) |
| XYZ | xyz(22.4803, 16.8283, 58.5521) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.90
Slate Blue
#6A5ACD
ΔE00 3.15
Dark Periwinkle
#665FD1
ΔE00 3.18
Iris
#6258C4
ΔE00 4.59
Mediumslateblue
#7B68EE
ΔE00 5.60
Purpley
#8756E4
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7562CB #B8CB62
analogous
#6284CB #7562CB #AA62CB
triadic
#7562CB #CB7562 #62CB75
tetradic
#7562CB #CB6284 #B8CB62 #62CBAA
square
#7562CB #CB6284 #B8CB62 #62CBAA
split-complementary
#7562CB #CBAA62 #84CB62
monochromatic
#3D2C86 #513CB4 #7562CB #9D90DA #C6BEE9
Accessibility & contrast
On white
4.81
#7562CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#7562CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7562CB
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7562CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7562CB | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#346FC9
Tritanopia (blue-blind)
#5C788D
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7562cb; /* rgb */ color: rgb(117, 98, 203); /* oklch */ color: oklch(56.6% 0.157 288.7);
Tailwind
colors: {
custom: {
50: '#a18fdb',
500: '#7562cb',
950: '#000000',
},
}SCSS
$custom: #7562cb; $custom-light: #a18fdb; $custom-dark: #000000;
JSON
{
"hex": "#7562cb",
"rgb": {
"r": 117,
"g": 98,
"b": 203
},
"hsl": {
"h": 250.857,
"s": 50.239,
"l": 59.02
},
"oklch": {
"l": 0.5656,
"c": 0.15656,
"h": 288.7
},
"luminance": 0.16829
}Semantic roles & 50–950 ramp
primary
#7562CB
secondary
#D2D9B0
accent
#DA4EC0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83