#7A5CDC#7A5CDC
#7A5CDC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.1% C 0.187 H 290.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5CDC |
|---|---|
| RGB | rgb(122, 92, 220) |
| HSL | hsl(254, 65%, 61%) |
| HSV | hsv(254, 58%, 86%) |
| CMYK | cmyk(44.5%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(48.21, 42.61, -61.64) |
| CIE-LCH | lch(48.21, 74.93, 304.66°) |
| OKLab | oklab(57.14% 0.0639 -0.1758) |
| OKLCH | oklch(57.14% 0.187 290) |
| XYZ | xyz(24.7678, 16.9583, 69.6645) |
| Luminance | 0.1696 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.87
Light Indigo
#6D5ACF
ΔE00 3.03
Slate Blue
#6A5ACD
ΔE00 3.62
Dark Periwinkle
#665FD1
ΔE00 4.13
Mediumslateblue
#7B68EE
ΔE00 4.57
Iris
#6258C4
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5CDC #BEDC5C
analogous
#5C7EDC #7A5CDC #BA5CDC
triadic
#7A5CDC #DC7A5C #5CDC7A
tetradic
#7A5CDC #DC5C7E #BEDC5C #5CDCBA
square
#7A5CDC #DC5C7E #BEDC5C #5CDCBA
split-complementary
#7A5CDC #DCBA5C #7EDC5C
monochromatic
#3E229C #522CCE #7A5CDC #A38EE7 #CCC1F2
Accessibility & contrast
On white
4.78
#7A5CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#7A5CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5CDC
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5CDC | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#016FD9
Tritanopia (blue-blind)
#5C7993
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7a5cdc; /* rgb */ color: rgb(122, 92, 220); /* oklch */ color: oklch(57.1% 0.187 290.0);
Tailwind
colors: {
custom: {
50: '#a78be8',
500: '#7a5cdc',
950: '#000000',
},
}SCSS
$custom: #7a5cdc; $custom-light: #a78be8; $custom-dark: #000000;
JSON
{
"hex": "#7a5cdc",
"rgb": {
"r": 122,
"g": 92,
"b": 220
},
"hsl": {
"h": 254.063,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.57137,
"c": 0.1871,
"h": 290
},
"luminance": 0.16959
}Semantic roles & 50–950 ramp
primary
#7A5CDC
secondary
#D7E2B2
accent
#CC19A2
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84