#792C7A#792C7A
#792C7A is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.146 H 327.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #792C7A |
|---|---|
| RGB | rgb(121, 44, 122) |
| HSL | hsl(299, 47%, 33%) |
| HSV | hsv(299, 64%, 48%) |
| CMYK | cmyk(0.8%, 63.9%, 0%, 52.2%) |
| CIE-LAB | lab(32.42, 44.19, -28.60) |
| CIE-LCH | lch(32.42, 52.64, 327.09°) |
| OKLab | oklab(43.62% 0.1227 -0.079) |
| OKLCH | oklch(43.62% 0.146 327.2) |
| XYZ | xyz(12.2985, 7.2722, 19.1645) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.35
Purple
#800080
ΔE00 4.93
Darkmagenta
#8B008B
ΔE00 5.48
Warm Purple
#952E8F
ΔE00 5.85
Grape
#6C3461
ΔE00 6.62
Bruise
#7E4071
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792C7A #2D7A2C
analogous
#522C7A #792C7A #7A2C54
triadic
#792C7A #7A792C #2C7A79
tetradic
#792C7A #7A522C #2D7A2C #2C547A
square
#792C7A #7A522C #2D7A2C #2C547A
split-complementary
#792C7A #547A2C #2C7A52
monochromatic
#200C20 #4C1C4D #792C7A #A63CA7 #C35CC4
Accessibility & contrast
On white
8.56
#792C7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#792C7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792C7A
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792C7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792C7A | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#22467C
Deuteranopia (green-blind)
#3E5078
Tritanopia (blue-blind)
#7D364F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #792c7a; /* rgb */ color: rgb(121, 44, 122); /* oklch */ color: oklch(43.6% 0.146 327.2);
Tailwind
colors: {
custom: {
50: '#a26ba1',
500: '#792c7a',
950: '#000000',
},
}SCSS
$custom: #792c7a; $custom-light: #a26ba1; $custom-dark: #000000;
JSON
{
"hex": "#792c7a",
"rgb": {
"r": 121,
"g": 44,
"b": 122
},
"hsl": {
"h": 299.231,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.43619,
"c": 0.1459,
"h": 327.2
},
"luminance": 0.07271
}Semantic roles & 50–950 ramp
primary
#792C7A
secondary
#58AA57
accent
#D75153
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070F
muted
#7F7A7E