#792CA3#792CA3
#792CA3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.185 H 310.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #792CA3 |
|---|---|
| RGB | rgb(121, 44, 163) |
| HSL | hsl(279, 57%, 41%) |
| HSV | hsv(279, 73%, 64%) |
| CMYK | cmyk(25.8%, 73%, 0%, 36.1%) |
| CIE-LAB | lab(35.03, 52.62, -49.65) |
| CIE-LCH | lch(35.03, 72.34, 316.66°) |
| OKLab | oklab(46.33% 0.1209 -0.1405) |
| OKLCH | oklch(46.33% 0.185 310.7) |
| XYZ | xyz(15.3954, 8.5110, 35.4750) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.54
Rebeccapurple
#663399
ΔE00 3.79
Darkmagenta
#8B008B
ΔE00 7.04
Darkviolet
#9400D3
ΔE00 7.41
Purply
#983FB2
ΔE00 7.70
Purple
#800080
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792CA3 #56A32C
analogous
#3E2CA3 #792CA3 #A32C91
triadic
#792CA3 #A3792C #2CA379
tetradic
#792CA3 #A33E2C #56A32C #2C91A3
square
#792CA3 #A33E2C #56A32C #2C91A3
split-complementary
#792CA3 #91A32C #2CA33E
monochromatic
#311243 #551F73 #792CA3 #9B41CC #B471D9
Accessibility & contrast
On white
7.77
#792CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#792CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792CA3
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792CA3 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#1754A0
Tritanopia (blue-blind)
#734765
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #792ca3; /* rgb */ color: rgb(121, 44, 163); /* oklch */ color: oklch(46.3% 0.185 310.7);
Tailwind
colors: {
custom: {
50: '#a46cbf',
500: '#792ca3',
950: '#000000',
},
}SCSS
$custom: #792ca3; $custom-light: #a46cbf; $custom-dark: #000000;
JSON
{
"hex": "#792ca3",
"rgb": {
"r": 121,
"g": 44,
"b": 163
},
"hsl": {
"h": 278.824,
"s": 57.488,
"l": 40.588
},
"oklch": {
"l": 0.46325,
"c": 0.18534,
"h": 310.7
},
"luminance": 0.08511
}Semantic roles & 50–950 ramp
primary
#792CA3
secondary
#89C06B
accent
#E1477D
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81