#7A4FCB#7A4FCB
#7A4FCB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.9% C 0.184 H 295.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4FCB |
|---|---|
| RGB | rgb(122, 79, 203) |
| HSL | hsl(261, 54%, 55%) |
| HSV | hsv(261, 61%, 80%) |
| CMYK | cmyk(39.9%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(44.29, 45.24, -58.23) |
| CIE-LCH | lch(44.29, 73.74, 307.84°) |
| OKLab | oklab(53.91% 0.0793 -0.1658) |
| OKLCH | oklch(53.91% 0.184 295.6) |
| XYZ | xyz(21.5987, 14.0409, 58.0605) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.18
Slate Blue
#6A5ACD
ΔE00 4.54
Purpley
#8756E4
ΔE00 4.76
Iris
#6258C4
ΔE00 5.46
Bluey Purple
#6241C7
ΔE00 5.52
Bluish Purple
#703BE7
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4FCB #A0CB4F
analogous
#4F62CB #7A4FCB #B84FCB
triadic
#7A4FCB #CB7A4F #4FCB7A
tetradic
#7A4FCB #CB4F62 #A0CB4F #4FCBB8
square
#7A4FCB #CB4F62 #A0CB4F #4FCBB8
split-complementary
#7A4FCB #CBB84F #62CB4F
monochromatic
#42247B #5C32AA #7A4FCB #9E7ED9 #C1ADE7
Accessibility & contrast
On white
5.51
#7A4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#7A4FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4FCB
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4FCB | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0967C8
Tritanopia (blue-blind)
#666B85
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7a4fcb; /* rgb */ color: rgb(122, 79, 203); /* oklch */ color: oklch(53.9% 0.184 295.6);
Tailwind
colors: {
custom: {
50: '#a682dc',
500: '#7a4fcb',
950: '#000000',
},
}SCSS
$custom: #7a4fcb; $custom-light: #a682dc; $custom-dark: #000000;
JSON
{
"hex": "#7a4fcb",
"rgb": {
"r": 122,
"g": 79,
"b": 203
},
"hsl": {
"h": 260.806,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.53908,
"c": 0.18382,
"h": 295.6
},
"luminance": 0.14041
}Semantic roles & 50–950 ramp
primary
#7A4FCB
secondary
#C3D5A1
accent
#DE4AAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83