#792F9F#792F9F
#792F9F is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.178 H 311.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #792F9F |
|---|---|
| RGB | rgb(121, 47, 159) |
| HSL | hsl(280, 54%, 40%) |
| HSV | hsv(280, 70%, 62%) |
| CMYK | cmyk(23.9%, 70.4%, 0%, 37.6%) |
| CIE-LAB | lab(35.21, 50.44, -46.94) |
| CIE-LCH | lch(35.21, 68.90, 317.06°) |
| OKLab | oklab(46.36% 0.1182 -0.1326) |
| OKLCH | oklch(46.36% 0.178 311.7) |
| XYZ | xyz(15.1585, 8.6016, 33.6559) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.67
Rebeccapurple
#663399
ΔE00 3.69
Darkmagenta
#8B008B
ΔE00 6.84
Purply
#983FB2
ΔE00 7.46
Warm Purple
#952E8F
ΔE00 7.60
Purple
#800080
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792F9F #559F2F
analogous
#412F9F #792F9F #9F2F8D
triadic
#792F9F #9F792F #2F9F79
tetradic
#792F9F #9F412F #559F2F #2F8D9F
square
#792F9F #9F412F #559F2F #2F8D9F
split-complementary
#792F9F #8D9F2F #2F9F41
monochromatic
#311341 #552170 #792F9F #9B44C8 #B473D6
Accessibility & contrast
On white
7.72
#792F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#792F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792F9F
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792F9F | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#22549D
Tritanopia (blue-blind)
#744763
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #792f9f; /* rgb */ color: rgb(121, 47, 159); /* oklch */ color: oklch(46.4% 0.178 311.7);
Tailwind
colors: {
custom: {
50: '#a36ebc',
500: '#792f9f',
950: '#000000',
},
}SCSS
$custom: #792f9f; $custom-light: #a36ebc; $custom-dark: #000000;
JSON
{
"hex": "#792f9f",
"rgb": {
"r": 121,
"g": 47,
"b": 159
},
"hsl": {
"h": 279.643,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.46364,
"c": 0.17763,
"h": 311.7
},
"luminance": 0.08601
}Semantic roles & 50–950 ramp
primary
#792F9F
secondary
#88BD6D
accent
#DE4A7C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81