#783B79#783B79
#783B79 is a mid, moderate purple. Relative luminance 0.085; OKLCH L 45.5% C 0.120 H 326.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #783B79 |
|---|---|
| RGB | rgb(120, 59, 121) |
| HSL | hsl(299, 34%, 35%) |
| HSV | hsv(299, 51%, 47%) |
| CMYK | cmyk(0.8%, 51.2%, 0%, 52.5%) |
| CIE-LAB | lab(35.01, 36.16, -23.92) |
| CIE-LCH | lch(35.01, 43.36, 326.51°) |
| OKLab | oklab(45.47% 0.1001 -0.0657) |
| OKLCH | oklch(45.47% 0.12 326.7) |
| XYZ | xyz(12.7606, 8.5022, 19.0544) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Bruise
#7E4071
ΔE00 3.84
Light Eggplant
#894585
ΔE00 4.40
Grape
#6C3461
ΔE00 5.36
Warm Purple
#952E8F
ΔE00 6.59
Darkish Purple
#751973
ΔE00 6.74
Purple
#800080
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#783B79 #3C793B
analogous
#593B79 #783B79 #793B5B
triadic
#783B79 #79783B #3B7978
tetradic
#783B79 #79593B #3C793B #3B5B79
square
#783B79 #79593B #3C793B #3B5B79
split-complementary
#783B79 #5B793B #3B7959
monochromatic
#261327 #4F2750 #783B79 #A14FA2 #BA73BB
Accessibility & contrast
On white
7.78
#783B79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#783B79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #783B79
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##783B79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##783B79 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#354D7B
Deuteranopia (green-blind)
#475577
Tritanopia (blue-blind)
#7B4254
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #783b79; /* rgb */ color: rgb(120, 59, 121); /* oklch */ color: oklch(45.5% 0.120 326.7);
Tailwind
colors: {
custom: {
50: '#a174a0',
500: '#783b79',
950: '#000000',
},
}SCSS
$custom: #783b79; $custom-light: #a174a0; $custom-dark: #000000;
JSON
{
"hex": "#783b79",
"rgb": {
"r": 120,
"g": 59,
"b": 121
},
"hsl": {
"h": 299.032,
"s": 34.444,
"l": 35.294
},
"oklch": {
"l": 0.45469,
"c": 0.11973,
"h": 326.7
},
"luminance": 0.08501
}Semantic roles & 50–950 ramp
primary
#783B79
secondary
#6CA56B
accent
#CB5D5F
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F080E
muted
#7F7B7E