#784684#784684
#784684 is a mid, moderate purple. Relative luminance 0.100; OKLCH L 47.8% C 0.112 H 319.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #784684 |
|---|---|
| RGB | rgb(120, 70, 132) |
| HSL | hsl(288, 31%, 40%) |
| HSV | hsv(288, 47%, 52%) |
| CMYK | cmyk(9.1%, 47%, 0%, 48.2%) |
| CIE-LAB | lab(37.91, 32.30, -26.19) |
| CIE-LCH | lch(37.91, 41.58, 320.96°) |
| OKLab | oklab(47.8% 0.0851 -0.0723) |
| OKLCH | oklch(47.8% 0.112 319.7) |
| XYZ | xyz(14.1002, 10.0398, 23.0205) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 3.98
Bruise
#7E4071
ΔE00 5.56
Muted Purple
#805B87
ΔE00 7.07
Warm Purple
#952E8F
ΔE00 7.50
Purplish
#94568C
ΔE00 7.90
Grape
#6C3461
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784684 #528446
analogous
#594684 #784684 #844671
triadic
#784684 #847846 #468478
tetradic
#784684 #845946 #528446 #467184
square
#784684 #845946 #528446 #467184
split-complementary
#784684 #718446 #468459
monochromatic
#2F1C34 #54315C #784684 #9B5EA9 #B486BF
Accessibility & contrast
On white
6.98
#784684 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#784684 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784684
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784684 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784684 | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5686
Deuteranopia (green-blind)
#4A5B82
Tritanopia (blue-blind)
#794E5F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #784684; /* rgb */ color: rgb(120, 70, 132); /* oklch */ color: oklch(47.8% 0.112 319.7);
Tailwind
colors: {
custom: {
50: '#a07ba8',
500: '#784684',
950: '#000000',
},
}SCSS
$custom: #784684; $custom-light: #a07ba8; $custom-dark: #000000;
JSON
{
"hex": "#784684",
"rgb": {
"r": 120,
"g": 70,
"b": 132
},
"hsl": {
"h": 288.387,
"s": 30.693,
"l": 39.608
},
"oklch": {
"l": 0.47803,
"c": 0.11166,
"h": 319.7
},
"luminance": 0.10039
}Semantic roles & 50–950 ramp
primary
#784684
secondary
#85AA7C
accent
#C76175
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F090F
muted
#7F7B7F