#7A62CD#7A62CD
#7A62CD is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.1% C 0.159 H 290.8°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7A62CD |
|---|---|
| RGB | rgb(122, 98, 205) |
| HSL | hsl(253, 52%, 59%) |
| HSV | hsv(253, 52%, 80%) |
| CMYK | cmyk(40.5%, 52.2%, 0%, 19.6%) |
| CIE-LAB | lab(48.61, 34.92, -52.43) |
| CIE-LCH | lch(48.61, 63.00, 303.67°) |
| OKLab | oklab(57.13% 0.0566 -0.1488) |
| OKLCH | oklch(57.13% 0.159 290.8) |
| XYZ | xyz(23.4102, 17.2800, 59.8477) |
| Luminance | 0.1728 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.43
Slate Blue
#6A5ACD
ΔE00 3.82
Dark Periwinkle
#665FD1
ΔE00 4.04
Purpley
#8756E4
ΔE00 5.00
Mediumslateblue
#7B68EE
ΔE00 5.31
Iris
#6258C4
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A62CD #B5CD62
analogous
#6280CD #7A62CD #B062CD
triadic
#7A62CD #CD7A62 #62CD7A
tetradic
#7A62CD #CD6280 #B5CD62 #62CDB0
square
#7A62CD #CD6280 #B5CD62 #62CDB0
split-complementary
#7A62CD #CDB062 #80CD62
monochromatic
#412C89 #563AB7 #7A62CD #A190DC #C9BFEB
Accessibility & contrast
On white
4.71
#7A62CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#7A62CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A62CD
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A62CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A62CD | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3375D1
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#63788E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7a62cd; /* rgb */ color: rgb(122, 98, 205); /* oklch */ color: oklch(57.1% 0.159 290.8);
Tailwind
colors: {
custom: {
50: '#a58fdd',
500: '#7a62cd',
950: '#000000',
},
}SCSS
$custom: #7a62cd; $custom-light: #a58fdd; $custom-dark: #000000;
JSON
{
"hex": "#7a62cd",
"rgb": {
"r": 122,
"g": 98,
"b": 205
},
"hsl": {
"h": 253.458,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.57131,
"c": 0.15917,
"h": 290.8
},
"luminance": 0.17281
}Semantic roles & 50–950 ramp
primary
#7A62CD
secondary
#D1DAB1
accent
#DB4DBB
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83