#7A4CBF#7A4CBF
#7A4CBF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.173 H 298.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4CBF |
|---|---|
| RGB | rgb(122, 76, 191) |
| HSL | hsl(264, 47%, 52%) |
| HSV | hsv(264, 60%, 75%) |
| CMYK | cmyk(36.1%, 60.2%, 0%, 25.1%) |
| CIE-LAB | lab(42.87, 43.73, -53.57) |
| CIE-LCH | lch(42.87, 69.15, 309.22°) |
| OKLab | oklab(52.61% 0.0833 -0.1521) |
| OKLCH | oklch(52.61% 0.173 298.7) |
| XYZ | xyz(20.0121, 13.0678, 50.7481) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.12
Bluey Purple
#6241C7
ΔE00 5.39
Light Indigo
#6D5ACF
ΔE00 5.66
Slate Blue
#6A5ACD
ΔE00 5.88
Iris
#6258C4
ΔE00 6.26
Purpley
#8756E4
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4CBF #91BF4C
analogous
#4C58BF #7A4CBF #B34CBF
triadic
#7A4CBF #BF7A4C #4CBF7A
tetradic
#7A4CBF #BF4C58 #91BF4C #4CBFB3
square
#7A4CBF #BF4C58 #91BF4C #4CBFB3
split-complementary
#7A4CBF #BFB34C #58BF4C
monochromatic
#41266B #5D3698 #7A4CBF #9B79CF #BDA6DF
Accessibility & contrast
On white
5.81
#7A4CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#7A4CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4CBF
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4CBF | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2164BC
Tritanopia (blue-blind)
#6B657E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7a4cbf; /* rgb */ color: rgb(122, 76, 191); /* oklch */ color: oklch(52.6% 0.173 298.7);
Tailwind
colors: {
custom: {
50: '#a580d3',
500: '#7a4cbf',
950: '#000000',
},
}SCSS
$custom: #7a4cbf; $custom-light: #a580d3; $custom-dark: #000000;
JSON
{
"hex": "#7a4cbf",
"rgb": {
"r": 122,
"g": 76,
"b": 191
},
"hsl": {
"h": 264,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.52611,
"c": 0.17348,
"h": 298.7
},
"luminance": 0.13068
}Semantic roles & 50–950 ramp
primary
#7A4CBF
secondary
#B8CC9A
accent
#D751A1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83