#792CA2#792CA2
#792CA2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.184 H 311.0°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #792CA2 |
|---|---|
| RGB | rgb(121, 44, 162) |
| HSL | hsl(279, 57%, 40%) |
| HSV | hsv(279, 73%, 64%) |
| CMYK | cmyk(25.3%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(34.95, 52.40, -49.16) |
| CIE-LCH | lch(34.95, 71.85, 316.83°) |
| OKLab | oklab(46.25% 0.121 -0.1391) |
| OKLCH | oklch(46.25% 0.184 311) |
| XYZ | xyz(15.3062, 8.4753, 35.0050) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.44
Rebeccapurple
#663399
ΔE00 3.77
Darkmagenta
#8B008B
ΔE00 6.92
Darkviolet
#9400D3
ΔE00 7.54
Purply
#983FB2
ΔE00 7.71
Purple
#800080
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792CA2 #55A22C
analogous
#3E2CA2 #792CA2 #A22C90
triadic
#792CA2 #A2792C #2CA279
tetradic
#792CA2 #A23E2C #55A22C #2C90A2
square
#792CA2 #A23E2C #55A22C #2C90A2
split-complementary
#792CA2 #90A22C #2CA23E
monochromatic
#311242 #551F72 #792CA2 #9B40CB #B470D8
Accessibility & contrast
On white
7.79
#792CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#792CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792CA2
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792CA2 | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#19549F
Tritanopia (blue-blind)
#744664
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #792ca2; /* rgb */ color: rgb(121, 44, 162); /* oklch */ color: oklch(46.3% 0.184 311.0);
Tailwind
colors: {
custom: {
50: '#a46cbe',
500: '#792ca2',
950: '#000000',
},
}SCSS
$custom: #792ca2; $custom-light: #a46cbe; $custom-dark: #000000;
JSON
{
"hex": "#792ca2",
"rgb": {
"r": 121,
"g": 44,
"b": 162
},
"hsl": {
"h": 279.153,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.46252,
"c": 0.18435,
"h": 311
},
"luminance": 0.08475
}Semantic roles & 50–950 ramp
primary
#792CA2
secondary
#88BF6A
accent
#E1477D
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81