#7562CF#7562CF
#7562CF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 56.8% C 0.162 H 288.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7562CF |
|---|---|
| RGB | rgb(117, 98, 207) |
| HSL | hsl(250, 53%, 60%) |
| HSV | hsv(250, 53%, 81%) |
| CMYK | cmyk(43.5%, 52.7%, 0%, 18.8%) |
| CIE-LAB | lab(48.29, 34.31, -54.12) |
| CIE-LCH | lch(48.29, 64.08, 302.37°) |
| OKLab | oklab(56.82% 0.0504 -0.1539) |
| OKLCH | oklch(56.82% 0.162 288.1) |
| XYZ | xyz(22.9631, 17.0214, 61.0949) |
| Luminance | 0.1702 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.79
Dark Periwinkle
#665FD1
ΔE00 2.97
Slate Blue
#6A5ACD
ΔE00 3.09
Iris
#6258C4
ΔE00 4.71
Mediumslateblue
#7B68EE
ΔE00 5.03
Purpley
#8756E4
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7562CF #BCCF62
analogous
#6285CF #7562CF #AC62CF
triadic
#7562CF #CF7562 #62CF75
tetradic
#7562CF #CF6285 #BCCF62 #62CFAC
square
#7562CF #CF6285 #BCCF62 #62CFAC
split-complementary
#7562CF #CFAC62 #85CF62
monochromatic
#3C2B8C #5039BB #7562CF #9E91DD #C7C0EC
Accessibility & contrast
On white
4.77
#7562CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#7562CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7562CF
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7562CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7562CF | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#2F70CD
Tritanopia (blue-blind)
#5A798F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7562cf; /* rgb */ color: rgb(117, 98, 207); /* oklch */ color: oklch(56.8% 0.162 288.1);
Tailwind
colors: {
custom: {
50: '#a28fde',
500: '#7562cf',
950: '#000000',
},
}SCSS
$custom: #7562cf; $custom-light: #a28fde; $custom-dark: #000000;
JSON
{
"hex": "#7562cf",
"rgb": {
"r": 117,
"g": 98,
"b": 207
},
"hsl": {
"h": 250.459,
"s": 53.171,
"l": 59.804
},
"oklch": {
"l": 0.56821,
"c": 0.16193,
"h": 288.1
},
"luminance": 0.17022
}Semantic roles & 50–950 ramp
primary
#7562CF
secondary
#D4DBB1
accent
#DD4BC3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#0F0C15
muted
#7F7D83