#7A61DC#7A61DC
#7A61DC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.0% C 0.180 H 288.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7A61DC |
|---|---|
| RGB | rgb(122, 97, 220) |
| HSL | hsl(252, 64%, 62%) |
| HSV | hsv(252, 56%, 86%) |
| CMYK | cmyk(44.5%, 55.9%, 0%, 13.7%) |
| CIE-LAB | lab(49.32, 39.73, -59.84) |
| CIE-LCH | lch(49.32, 71.83, 303.58°) |
| OKLab | oklab(57.96% 0.0583 -0.1706) |
| OKLCH | oklch(57.96% 0.18 288.9) |
| XYZ | xyz(25.2153, 17.8533, 69.8137) |
| Luminance | 0.1785 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.45
Light Indigo
#6D5ACF
ΔE00 3.63
Purpley
#8756E4
ΔE00 3.81
Dark Periwinkle
#665FD1
ΔE00 4.01
Slate Blue
#6A5ACD
ΔE00 4.12
Iris
#6258C4
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A61DC #C3DC61
analogous
#6186DC #7A61DC #B861DC
triadic
#7A61DC #DC7A61 #61DC7A
tetradic
#7A61DC #DC6186 #C3DC61 #61DCB8
square
#7A61DC #DC6186 #C3DC61 #61DCB8
split-complementary
#7A61DC #DCB861 #86DC61
monochromatic
#3C239F #502FD1 #7A61DC #A493E7 #CEC5F2
Accessibility & contrast
On white
4.59
#7A61DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#7A61DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7A61DC
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A61DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A61DC | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1778E0
Deuteranopia (green-blind)
#1B72D9
Tritanopia (blue-blind)
#5C7C95
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7a61dc; /* rgb */ color: rgb(122, 97, 220); /* oklch */ color: oklch(58.0% 0.180 288.9);
Tailwind
colors: {
custom: {
50: '#a68ee8',
500: '#7a61dc',
950: '#000000',
},
}SCSS
$custom: #7a61dc; $custom-light: #a68ee8; $custom-dark: #000000;
JSON
{
"hex": "#7a61dc",
"rgb": {
"r": 122,
"g": 97,
"b": 220
},
"hsl": {
"h": 252.195,
"s": 63.731,
"l": 62.157
},
"oklch": {
"l": 0.57955,
"c": 0.18024,
"h": 288.9
},
"luminance": 0.17854
}Semantic roles & 50–950 ramp
primary
#7A61DC
secondary
#DAE3B6
accent
#CC1AA7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84