#7A62DD#7A62DD
#7A62DD is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.2% C 0.180 H 288.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7A62DD |
|---|---|
| RGB | rgb(122, 98, 221) |
| HSL | hsl(252, 64%, 63%) |
| HSV | hsv(252, 56%, 87%) |
| CMYK | cmyk(44.8%, 55.7%, 0%, 13.3%) |
| CIE-LAB | lab(49.61, 39.44, -59.94) |
| CIE-LCH | lch(49.61, 71.75, 303.34°) |
| OKLab | oklab(58.19% 0.0571 -0.1708) |
| OKLCH | oklch(58.19% 0.18 288.5) |
| XYZ | xyz(25.4412, 18.0924, 70.5443) |
| Luminance | 0.1809 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.13
Light Indigo
#6D5ACF
ΔE00 3.89
Purpley
#8756E4
ΔE00 4.01
Dark Periwinkle
#665FD1
ΔE00 4.10
Slate Blue
#6A5ACD
ΔE00 4.36
Iris
#6258C4
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A62DD #C5DD62
analogous
#6288DD #7A62DD #B762DD
triadic
#7A62DD #DD7A62 #62DD7A
tetradic
#7A62DD #DD6288 #C5DD62 #62DDB7
square
#7A62DD #DD6288 #C5DD62 #62DDB7
split-complementary
#7A62DD #DDB762 #88DD62
monochromatic
#3C23A2 #4F30D2 #7A62DD #A594E8 #CFC7F3
Accessibility & contrast
On white
4.55
#7A62DD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#7A62DD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A62DD
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A62DD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A62DD | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A79E1
Deuteranopia (green-blind)
#1C73DA
Tritanopia (blue-blind)
#5B7D96
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7a62dd; /* rgb */ color: rgb(122, 98, 221); /* oklch */ color: oklch(58.2% 0.180 288.5);
Tailwind
colors: {
custom: {
50: '#a68fe8',
500: '#7a62dd',
950: '#000000',
},
}SCSS
$custom: #7a62dd; $custom-light: #a68fe8; $custom-dark: #000000;
JSON
{
"hex": "#7a62dd",
"rgb": {
"r": 122,
"g": 98,
"b": 221
},
"hsl": {
"h": 251.707,
"s": 64.398,
"l": 62.549
},
"oklch": {
"l": 0.5819,
"c": 0.18015,
"h": 288.5
},
"luminance": 0.18093
}Semantic roles & 50–950 ramp
primary
#7A62DD
secondary
#DBE4B7
accent
#CC19A9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84