#7A51CA#7A51CA
#7A51CA is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.1% C 0.180 H 295.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7A51CA |
|---|---|
| RGB | rgb(122, 81, 202) |
| HSL | hsl(260, 53%, 55%) |
| HSV | hsv(260, 60%, 79%) |
| CMYK | cmyk(39.6%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(44.64, 43.86, -57.09) |
| CIE-LCH | lch(44.64, 72.00, 307.54°) |
| OKLab | oklab(54.14% 0.077 -0.1625) |
| OKLCH | oklch(54.14% 0.18 295.4) |
| XYZ | xyz(21.6263, 14.2863, 57.4838) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.85
Slate Blue
#6A5ACD
ΔE00 4.23
Purpley
#8756E4
ΔE00 4.64
Iris
#6258C4
ΔE00 5.21
Royal Purple
#7851A9
ΔE00 5.60
Bluey Purple
#6241C7
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A51CA #A1CA51
analogous
#5164CA #7A51CA #B751CA
triadic
#7A51CA #CA7A51 #51CA7A
tetradic
#7A51CA #CA5164 #A1CA51 #51CAB7
square
#7A51CA #CA5164 #A1CA51 #51CAB7
split-complementary
#7A51CA #CAB751 #64CA51
monochromatic
#43257B #5C34AA #7A51CA #9E80D8 #C2AFE7
Accessibility & contrast
On white
5.44
#7A51CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#7A51CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A51CA
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A51CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A51CA | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#1568C7
Tritanopia (blue-blind)
#666C86
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7a51ca; /* rgb */ color: rgb(122, 81, 202); /* oklch */ color: oklch(54.1% 0.180 295.4);
Tailwind
colors: {
custom: {
50: '#a684db',
500: '#7a51ca',
950: '#000000',
},
}SCSS
$custom: #7a51ca; $custom-light: #a684db; $custom-dark: #000000;
JSON
{
"hex": "#7a51ca",
"rgb": {
"r": 122,
"g": 81,
"b": 202
},
"hsl": {
"h": 260.331,
"s": 53.304,
"l": 55.49
},
"oklch": {
"l": 0.54141,
"c": 0.17982,
"h": 295.4
},
"luminance": 0.14287
}Semantic roles & 50–950 ramp
primary
#7A51CA
secondary
#C4D5A2
accent
#DD4BAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83