#793979#793979
#793979 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.3% C 0.124 H 327.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #793979 |
|---|---|
| RGB | rgb(121, 57, 121) |
| HSL | hsl(300, 36%, 35%) |
| HSV | hsv(300, 53%, 47%) |
| CMYK | cmyk(0%, 52.9%, 0%, 52.5%) |
| CIE-LAB | lab(34.75, 37.55, -24.32) |
| CIE-LCH | lch(34.75, 44.74, 327.07°) |
| OKLab | oklab(45.31% 0.1044 -0.0668) |
| OKLCH | oklch(45.31% 0.124 327.4) |
| XYZ | xyz(12.7993, 8.3724, 19.0273) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Bruise
#7E4071
ΔE00 4.03
Light Eggplant
#894585
ΔE00 4.54
Grape
#6C3461
ΔE00 5.40
Warm Purple
#952E8F
ΔE00 6.25
Darkish Purple
#751973
ΔE00 6.26
Purple
#800080
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793979 #397939
analogous
#593979 #793979 #793959
triadic
#793979 #797939 #397979
tetradic
#793979 #795939 #397939 #395979
square
#793979 #795939 #397939 #395979
split-complementary
#793979 #597939 #397959
monochromatic
#261226 #4F254F #793979 #A34DA3 #BC71BC
Accessibility & contrast
On white
7.85
#793979 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#793979 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #793979
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793979 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793979 | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334C7B
Deuteranopia (green-blind)
#465577
Tritanopia (blue-blind)
#7C4053
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #793979; /* rgb */ color: rgb(121, 57, 121); /* oklch */ color: oklch(45.3% 0.124 327.4);
Tailwind
colors: {
custom: {
50: '#a172a0',
500: '#793979',
950: '#000000',
},
}SCSS
$custom: #793979; $custom-light: #a172a0; $custom-dark: #000000;
JSON
{
"hex": "#793979",
"rgb": {
"r": 121,
"g": 57,
"b": 121
},
"hsl": {
"h": 300,
"s": 35.955,
"l": 34.902
},
"oklch": {
"l": 0.45306,
"c": 0.1239,
"h": 327.4
},
"luminance": 0.08372
}Semantic roles & 50–950 ramp
primary
#793979
secondary
#69A569
accent
#CC5C5C
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080E
muted
#7F7B7E