#7A4BCC#7A4BCC
#7A4BCC is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.190 H 296.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7A4BCC |
|---|---|
| RGB | rgb(122, 75, 204) |
| HSL | hsl(262, 56%, 55%) |
| HSV | hsv(262, 63%, 80%) |
| CMYK | cmyk(40.2%, 63.2%, 0%, 20%) |
| CIE-LAB | lab(43.55, 47.68, -60.01) |
| CIE-LCH | lch(43.55, 76.65, 308.47°) |
| OKLab | oklab(53.39% 0.0837 -0.1711) |
| OKLCH | oklch(53.39% 0.19 296.1) |
| XYZ | xyz(21.4384, 13.5289, 58.5969) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.90
Light Indigo
#6D5ACF
ΔE00 4.95
Bluish Purple
#703BE7
ΔE00 4.97
Purpley
#8756E4
ΔE00 5.24
Slate Blue
#6A5ACD
ΔE00 5.28
Blueviolet
#8A2BE2
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A4BCC #9DCC4B
analogous
#4B5DCC #7A4BCC #BA4BCC
triadic
#7A4BCC #CC7A4B #4BCC7A
tetradic
#7A4BCC #CC4B5D #9DCC4B #4BCCBA
square
#7A4BCC #CC4B5D #9DCC4B #4BCCBA
split-complementary
#7A4BCC #CCBA4B #5DCC4B
monochromatic
#42237A #5C30AA #7A4BCC #9D7BDA #C0AAE7
Accessibility & contrast
On white
5.67
#7A4BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#7A4BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A4BCC
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A4BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A4BCC | 1.00 | 5.67 | 3.71 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#656885
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7a4bcc; /* rgb */ color: rgb(122, 75, 204); /* oklch */ color: oklch(53.4% 0.190 296.1);
Tailwind
colors: {
custom: {
50: '#a680dc',
500: '#7a4bcc',
950: '#000000',
},
}SCSS
$custom: #7a4bcc; $custom-light: #a680dc; $custom-dark: #000000;
JSON
{
"hex": "#7a4bcc",
"rgb": {
"r": 122,
"g": 75,
"b": 204
},
"hsl": {
"h": 261.86,
"s": 55.844,
"l": 54.706
},
"oklch": {
"l": 0.53391,
"c": 0.19045,
"h": 296.1
},
"luminance": 0.13529
}Semantic roles & 50–950 ramp
primary
#7A4BCC
secondary
#C1D59E
accent
#DF49A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83