#782175#782175
#782175 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.156 H 329.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #782175 |
|---|---|
| RGB | rgb(120, 33, 117) |
| HSL | hsl(302, 57%, 30%) |
| HSV | hsv(302, 73%, 47%) |
| CMYK | cmyk(0%, 72.5%, 2.5%, 52.9%) |
| CIE-LAB | lab(30.32, 47.66, -28.78) |
| CIE-LCH | lch(30.32, 55.67, 328.88°) |
| OKLab | oklab(41.98% 0.1343 -0.0795) |
| OKLCH | oklch(41.98% 0.156 329.4) |
| XYZ | xyz(11.5004, 6.3660, 17.4492) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 1.41
Purple
#800080
ΔE00 3.62
Darkmagenta
#8B008B
ΔE00 4.93
Rich Purple
#720058
ΔE00 6.41
Warm Purple
#952E8F
ΔE00 6.91
Grape
#6C3461
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782175 #217824
analogous
#502178 #782175 #782149
triadic
#782175 #757821 #217578
tetradic
#782175 #785021 #217824 #214978
square
#782175 #785021 #217824 #214978
split-complementary
#782175 #497821 #217850
monochromatic
#180717 #481446 #782175 #A82EA4 #CC47C8
Accessibility & contrast
On white
9.24
#782175 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#782175 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782175
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782175 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782175 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#164077
Deuteranopia (green-blind)
#394B73
Tritanopia (blue-blind)
#7C2C48
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #782175; /* rgb */ color: rgb(120, 33, 117); /* oklch */ color: oklch(42.0% 0.156 329.4);
Tailwind
colors: {
custom: {
50: '#a2659d',
500: '#782175',
950: '#000000',
},
}SCSS
$custom: #782175; $custom-light: #a2659d; $custom-dark: #000000;
JSON
{
"hex": "#782175",
"rgb": {
"r": 120,
"g": 33,
"b": 117
},
"hsl": {
"h": 302.069,
"s": 56.863,
"l": 30
},
"oklch": {
"l": 0.41977,
"c": 0.15606,
"h": 329.4
},
"luminance": 0.06365
}Semantic roles & 50–950 ramp
primary
#782175
secondary
#4AAB4D
accent
#E04D48
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E