#792CA0#792CA0
#792CA0 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.182 H 311.7°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #792CA0 |
|---|---|
| RGB | rgb(121, 44, 160) |
| HSL | hsl(280, 57%, 40%) |
| HSV | hsv(280, 73%, 63%) |
| CMYK | cmyk(24.4%, 72.5%, 0%, 37.3%) |
| CIE-LAB | lab(34.81, 51.96, -48.18) |
| CIE-LCH | lch(34.81, 70.86, 317.16°) |
| OKLab | oklab(46.11% 0.1213 -0.1362) |
| OKLCH | oklch(46.11% 0.182 311.7) |
| XYZ | xyz(15.1298, 8.4048, 34.0762) |
| Luminance | 0.0840 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.28
Rebeccapurple
#663399
ΔE00 3.77
Darkmagenta
#8B008B
ΔE00 6.68
Purple
#800080
ΔE00 7.51
Purply
#983FB2
ΔE00 7.75
Darkviolet
#9400D3
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792CA0 #53A02C
analogous
#3F2CA0 #792CA0 #A02C8D
triadic
#792CA0 #A0792C #2CA079
tetradic
#792CA0 #A03F2C #53A02C #2C8DA0
square
#792CA0 #A03F2C #53A02C #2C8DA0
split-complementary
#792CA0 #8DA02C #2CA03F
monochromatic
#301240 #551F70 #792CA0 #9B3FCA #B46FD7
Accessibility & contrast
On white
7.83
#792CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#792CA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792CA0
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792CA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792CA0 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EA3
Deuteranopia (green-blind)
#1C539D
Tritanopia (blue-blind)
#744563
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #792ca0; /* rgb */ color: rgb(121, 44, 160); /* oklch */ color: oklch(46.1% 0.182 311.7);
Tailwind
colors: {
custom: {
50: '#a46cbd',
500: '#792ca0',
950: '#000000',
},
}SCSS
$custom: #792ca0; $custom-light: #a46cbd; $custom-dark: #000000;
JSON
{
"hex": "#792ca0",
"rgb": {
"r": 121,
"g": 44,
"b": 160
},
"hsl": {
"h": 279.828,
"s": 56.863,
"l": 40
},
"oklch": {
"l": 0.46106,
"c": 0.18238,
"h": 311.7
},
"luminance": 0.08404
}Semantic roles & 50–950 ramp
primary
#792CA0
secondary
#86BF69
accent
#E0487B
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81