#783B7A#783B7A
#783B7A is a mid, vivid purple. Relative luminance 0.085; OKLCH L 45.5% C 0.121 H 326.1°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #783B7A |
|---|---|
| RGB | rgb(120, 59, 122) |
| HSL | hsl(298, 35%, 35%) |
| HSV | hsv(298, 52%, 48%) |
| CMYK | cmyk(1.6%, 51.6%, 0%, 52.2%) |
| CIE-LAB | lab(35.06, 36.36, -24.47) |
| CIE-LCH | lch(35.06, 43.83, 326.06°) |
| OKLab | oklab(45.52% 0.1003 -0.0673) |
| OKLCH | oklch(45.52% 0.121 326.1) |
| XYZ | xyz(12.8223, 8.5268, 19.3790) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Bruise
#7E4071
ΔE00 4.06
Light Eggplant
#894585
ΔE00 4.40
Grape
#6C3461
ΔE00 5.57
Warm Purple
#952E8F
ΔE00 6.49
Darkish Purple
#751973
ΔE00 6.70
Purple
#800080
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#783B7A #3D7A3B
analogous
#583B7A #783B7A #7A3B5C
triadic
#783B7A #7A783B #3B7A78
tetradic
#783B7A #7A583B #3D7A3B #3B5C7A
square
#783B7A #7A583B #3D7A3B #3B5C7A
split-complementary
#783B7A #5C7A3B #3B7A58
monochromatic
#271327 #4F2751 #783B7A #A14FA3 #B974BC
Accessibility & contrast
On white
7.76
#783B7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#783B7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #783B7A
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##783B7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##783B7A | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#344E7C
Deuteranopia (green-blind)
#475578
Tritanopia (blue-blind)
#7B4255
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #783b7a; /* rgb */ color: rgb(120, 59, 122); /* oklch */ color: oklch(45.5% 0.121 326.1);
Tailwind
colors: {
custom: {
50: '#a174a0',
500: '#783b7a',
950: '#000000',
},
}SCSS
$custom: #783b7a; $custom-light: #a174a0; $custom-dark: #000000;
JSON
{
"hex": "#783b7a",
"rgb": {
"r": 120,
"g": 59,
"b": 122
},
"hsl": {
"h": 298.095,
"s": 34.807,
"l": 35.49
},
"oklch": {
"l": 0.45521,
"c": 0.12074,
"h": 326.1
},
"luminance": 0.08526
}Semantic roles & 50–950 ramp
primary
#783B7A
secondary
#6DA56C
accent
#CB5D60
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F080F
muted
#7F7B7E