#7B4ACA#7B4ACA
#7B4ACA is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.2% C 0.190 H 297.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4ACA |
|---|---|
| RGB | rgb(123, 74, 202) |
| HSL | hsl(263, 55%, 54%) |
| HSV | hsv(263, 63%, 79%) |
| CMYK | cmyk(39.1%, 63.4%, 0%, 20.8%) |
| CIE-LAB | lab(43.32, 47.90, -59.22) |
| CIE-LCH | lch(43.32, 76.17, 308.97°) |
| OKLab | oklab(53.2% 0.0864 -0.1687) |
| OKLCH | oklch(53.2% 0.19 297.1) |
| XYZ | xyz(21.2751, 13.3724, 57.3259) |
| Luminance | 0.1337 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.93
Bluish Purple
#703BE7
ΔE00 5.12
Light Indigo
#6D5ACF
ΔE00 5.34
Purpley
#8756E4
ΔE00 5.53
Slate Blue
#6A5ACD
ΔE00 5.65
Royal Purple
#7851A9
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4ACA #99CA4A
analogous
#4A59CA #7B4ACA #BB4ACA
triadic
#7B4ACA #CA7B4A #4ACA7B
tetradic
#7B4ACA #CA4A59 #99CA4A #4ACABB
square
#7B4ACA #CA4A59 #99CA4A #4ACABB
split-complementary
#7B4ACA #CABB4A #59CA4A
monochromatic
#432377 #5E31A6 #7B4ACA #9E79D8 #C0A9E6
Accessibility & contrast
On white
5.71
#7B4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#7B4ACA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4ACA
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4ACA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4ACA | 1.00 | 5.71 | 3.67 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#686783
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7b4aca; /* rgb */ color: rgb(123, 74, 202); /* oklch */ color: oklch(53.2% 0.190 297.1);
Tailwind
colors: {
custom: {
50: '#a77fdb',
500: '#7b4aca',
950: '#000000',
},
}SCSS
$custom: #7b4aca; $custom-light: #a77fdb; $custom-dark: #000000;
JSON
{
"hex": "#7b4aca",
"rgb": {
"r": 123,
"g": 74,
"b": 202
},
"hsl": {
"h": 262.969,
"s": 54.701,
"l": 54.118
},
"oklch": {
"l": 0.53204,
"c": 0.18953,
"h": 297.1
},
"luminance": 0.13373
}Semantic roles & 50–950 ramp
primary
#7B4ACA
secondary
#BED39D
accent
#DE4AA5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83