#792A7B#792A7B
#792A7B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.4% C 0.150 H 326.8°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #792A7B |
|---|---|
| RGB | rgb(121, 42, 123) |
| HSL | hsl(299, 49%, 32%) |
| HSV | hsv(299, 66%, 48%) |
| CMYK | cmyk(1.6%, 65.9%, 0%, 51.8%) |
| CIE-LAB | lab(32.15, 45.28, -29.66) |
| CIE-LCH | lch(32.15, 54.13, 326.78°) |
| OKLab | oklab(43.44% 0.1252 -0.082) |
| OKLCH | oklch(43.44% 0.15 326.8) |
| XYZ | xyz(12.2881, 7.1517, 19.4682) |
| Luminance | 0.0715 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 3.03
Purple
#800080
ΔE00 4.48
Darkmagenta
#8B008B
ΔE00 5.08
Warm Purple
#952E8F
ΔE00 5.88
Purple (survey)
#7E1E9C
ΔE00 6.52
Grape
#6C3461
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792A7B #2C7B2A
analogous
#512A7B #792A7B #7B2A54
triadic
#792A7B #7B792A #2A7B79
tetradic
#792A7B #7B512A #2C7B2A #2A547B
square
#792A7B #7B512A #2C7B2A #2A547B
split-complementary
#792A7B #547B2A #2A7B51
monochromatic
#1F0B20 #4C1A4D #792A7B #A63AA9 #C459C6
Accessibility & contrast
On white
8.64
#792A7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#792A7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792A7B
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792A7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792A7B | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E457D
Deuteranopia (green-blind)
#3C4F79
Tritanopia (blue-blind)
#7C354E
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #792a7b; /* rgb */ color: rgb(121, 42, 123); /* oklch */ color: oklch(43.4% 0.150 326.8);
Tailwind
colors: {
custom: {
50: '#a26aa1',
500: '#792a7b',
950: '#000000',
},
}SCSS
$custom: #792a7b; $custom-light: #a26aa1; $custom-dark: #000000;
JSON
{
"hex": "#792a7b",
"rgb": {
"r": 121,
"g": 42,
"b": 123
},
"hsl": {
"h": 298.519,
"s": 49.091,
"l": 32.353
},
"oklch": {
"l": 0.43442,
"c": 0.14972,
"h": 326.8
},
"luminance": 0.07151
}Semantic roles & 50–950 ramp
primary
#792A7B
secondary
#57AC55
accent
#D94F53
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F070F
muted
#7F7A7F