#7A4BBD#7A4BBD
#7A4BBD is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.172 H 299.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4BBD |
|---|---|
| RGB | rgb(122, 75, 189) |
| HSL | hsl(265, 46%, 52%) |
| HSV | hsv(265, 60%, 74%) |
| CMYK | cmyk(35.4%, 60.3%, 0%, 25.9%) |
| CIE-LAB | lab(42.53, 43.76, -52.95) |
| CIE-LCH | lch(42.53, 68.69, 309.57°) |
| OKLab | oklab(52.32% 0.0846 -0.1503) |
| OKLCH | oklch(52.32% 0.173 299.4) |
| XYZ | xyz(19.7252, 12.8437, 49.5741) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.93
Bluey Purple
#6241C7
ΔE00 5.39
Light Indigo
#6D5ACF
ΔE00 6.04
Slate Blue
#6A5ACD
ΔE00 6.24
Iris
#6258C4
ΔE00 6.54
Darkorchid
#9932CC
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4BBD #8EBD4B
analogous
#4B55BD #7A4BBD #B34BBD
triadic
#7A4BBD #BD7A4B #4BBD7A
tetradic
#7A4BBD #BD4B55 #8EBD4B #4BBDB3
square
#7A4BBD #BD4B55 #8EBD4B #4BBDB3
split-complementary
#7A4BBD #BDB34B #55BD4B
monochromatic
#412668 #5D3694 #7A4BBD #9B78CD #BCA5DE
Accessibility & contrast
On white
5.88
#7A4BBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#7A4BBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4BBD
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4BBD | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#2263BA
Tritanopia (blue-blind)
#6B637D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7a4bbd; /* rgb */ color: rgb(122, 75, 189); /* oklch */ color: oklch(52.3% 0.172 299.4);
Tailwind
colors: {
custom: {
50: '#a57fd2',
500: '#7a4bbd',
950: '#000000',
},
}SCSS
$custom: #7a4bbd; $custom-light: #a57fd2; $custom-dark: #000000;
JSON
{
"hex": "#7a4bbd",
"rgb": {
"r": 122,
"g": 75,
"b": 189
},
"hsl": {
"h": 264.737,
"s": 46.341,
"l": 51.765
},
"oklch": {
"l": 0.52322,
"c": 0.1725,
"h": 299.4
},
"luminance": 0.12844
}Semantic roles & 50–950 ramp
primary
#7A4BBD
secondary
#B6CB99
accent
#D6529F
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82