#784281#784281
#784281 is a mid, moderate purple. Relative luminance 0.095; OKLCH L 47.0% C 0.116 H 321.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #784281 |
|---|---|
| RGB | rgb(120, 66, 129) |
| HSL | hsl(291, 32%, 38%) |
| HSV | hsv(291, 49%, 51%) |
| CMYK | cmyk(7%, 48.8%, 0%, 49.4%) |
| CIE-LAB | lab(36.88, 33.93, -25.96) |
| CIE-LCH | lch(36.88, 42.72, 322.58°) |
| OKLab | oklab(46.99% 0.0908 -0.0716) |
| OKLCH | oklch(46.99% 0.116 321.7) |
| XYZ | xyz(13.6559, 9.4750, 21.8742) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 3.86
Bruise
#7E4071
ΔE00 4.95
Warm Purple
#952E8F
ΔE00 6.91
Grape
#6C3461
ΔE00 7.21
Muted Purple
#805B87
ΔE00 8.00
Purplish
#94568C
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784281 #4B8142
analogous
#584281 #784281 #81426A
triadic
#784281 #817842 #428178
tetradic
#784281 #815842 #4B8142 #426A81
square
#784281 #815842 #4B8142 #426A81
split-complementary
#784281 #6A8142 #428158
monochromatic
#2D1930 #522D59 #784281 #9D57A9 #B580BE
Accessibility & contrast
On white
7.25
#784281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#784281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #784281
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784281 | 1.00 | 7.25 | 2.89 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#395383
Deuteranopia (green-blind)
#49597F
Tritanopia (blue-blind)
#794A5B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #784281; /* rgb */ color: rgb(120, 66, 129); /* oklch */ color: oklch(47.0% 0.116 321.7);
Tailwind
colors: {
custom: {
50: '#a078a6',
500: '#784281',
950: '#000000',
},
}SCSS
$custom: #784281; $custom-light: #a078a6; $custom-dark: #000000;
JSON
{
"hex": "#784281",
"rgb": {
"r": 120,
"g": 66,
"b": 129
},
"hsl": {
"h": 291.429,
"s": 32.308,
"l": 38.235
},
"oklch": {
"l": 0.46988,
"c": 0.11559,
"h": 321.7
},
"luminance": 0.09474
}Semantic roles & 50–950 ramp
primary
#784281
secondary
#7DA976
accent
#C85F6E
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F090F
muted
#7F7B7F