#7A4BBB#7A4BBB
#7A4BBB is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.2% C 0.170 H 299.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4BBB |
|---|---|
| RGB | rgb(122, 75, 187) |
| HSL | hsl(265, 45%, 51%) |
| HSV | hsv(265, 60%, 73%) |
| CMYK | cmyk(34.8%, 59.9%, 0%, 26.7%) |
| CIE-LAB | lab(42.40, 43.24, -52.00) |
| CIE-LCH | lch(42.40, 67.63, 309.75°) |
| OKLab | oklab(52.19% 0.0847 -0.1475) |
| OKLCH | oklch(52.19% 0.17 299.9) |
| XYZ | xyz(19.5096, 12.7574, 48.4387) |
| Luminance | 0.1276 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.65
Bluey Purple
#6241C7
ΔE00 5.55
Light Indigo
#6D5ACF
ΔE00 6.24
Slate Blue
#6A5ACD
ΔE00 6.43
Iris
#6258C4
ΔE00 6.67
Darkorchid
#9932CC
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4BBB #8CBB4B
analogous
#4B54BB #7A4BBB #B24BBB
triadic
#7A4BBB #BB7A4B #4BBB7A
tetradic
#7A4BBB #BB4B54 #8CBB4B #4BBBB2
square
#7A4BBB #BB4B54 #8CBB4B #4BBBB2
split-complementary
#7A4BBB #BBB24B #54BB4B
monochromatic
#412665 #5D3792 #7A4BBB #9B77CC #BCA4DD
Accessibility & contrast
On white
5.91
#7A4BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#7A4BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4BBB
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4BBB | 1.00 | 5.91 | 3.55 | 5.91 |
| #FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0664BF
Deuteranopia (green-blind)
#2563B8
Tritanopia (blue-blind)
#6C637C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7a4bbb; /* rgb */ color: rgb(122, 75, 187); /* oklch */ color: oklch(52.2% 0.170 299.9);
Tailwind
colors: {
custom: {
50: '#a57fd0',
500: '#7a4bbb',
950: '#000000',
},
}SCSS
$custom: #7a4bbb; $custom-light: #a57fd0; $custom-dark: #000000;
JSON
{
"hex": "#7a4bbb",
"rgb": {
"r": 122,
"g": 75,
"b": 187
},
"hsl": {
"h": 265.179,
"s": 45.161,
"l": 51.373
},
"oklch": {
"l": 0.52185,
"c": 0.17009,
"h": 299.9
},
"luminance": 0.12758
}Semantic roles & 50–950 ramp
primary
#7A4BBB
secondary
#B5CA98
accent
#D5539E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82