#792F99#792F99
#792F99 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.172 H 313.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #792F99 |
|---|---|
| RGB | rgb(121, 47, 153) |
| HSL | hsl(282, 53%, 39%) |
| HSV | hsv(282, 69%, 60%) |
| CMYK | cmyk(20.9%, 69.3%, 0%, 40%) |
| CIE-LAB | lab(34.80, 49.13, -43.96) |
| CIE-LCH | lch(34.80, 65.92, 318.18°) |
| OKLab | oklab(45.94% 0.1188 -0.1238) |
| OKLCH | oklch(45.94% 0.172 313.8) |
| XYZ | xyz(14.6505, 8.3983, 30.9801) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.59
Rebeccapurple
#663399
ΔE00 3.95
Darkmagenta
#8B008B
ΔE00 6.20
Purple
#800080
ΔE00 6.92
Warm Purple
#952E8F
ΔE00 6.95
Purply
#983FB2
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792F99 #4F992F
analogous
#442F99 #792F99 #992F84
triadic
#792F99 #99792F #2F9979
tetradic
#792F99 #99442F #4F992F #2F8499
square
#792F99 #99442F #4F992F #2F8499
split-complementary
#792F99 #84992F #2F9944
monochromatic
#2F123B #54216A #792F99 #9D41C5 #B56FD3
Accessibility & contrast
On white
7.84
#792F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#792F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792F99
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792F99 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#295497
Tritanopia (blue-blind)
#764460
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #792f99; /* rgb */ color: rgb(121, 47, 153); /* oklch */ color: oklch(45.9% 0.172 313.8);
Tailwind
colors: {
custom: {
50: '#a36eb8',
500: '#792f99',
950: '#000000',
},
}SCSS
$custom: #792f99; $custom-light: #a36eb8; $custom-dark: #000000;
JSON
{
"hex": "#792f99",
"rgb": {
"r": 121,
"g": 47,
"b": 153
},
"hsl": {
"h": 281.887,
"s": 53,
"l": 39.216
},
"oklch": {
"l": 0.45944,
"c": 0.1716,
"h": 313.8
},
"luminance": 0.08398
}Semantic roles & 50–950 ramp
primary
#792F99
secondary
#82BA69
accent
#DC4B77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80