#792AC0#792AC0
#792AC0 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.216 H 302.7°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #792AC0 |
|---|---|
| RGB | rgb(121, 42, 192) |
| HSL | hsl(272, 64%, 46%) |
| HSV | hsv(272, 78%, 75%) |
| CMYK | cmyk(37%, 78.1%, 0%, 24.7%) |
| CIE-LAB | lab(36.98, 59.97, -63.71) |
| CIE-LCH | lch(36.98, 87.49, 313.27°) |
| OKLab | oklab(48.4% 0.1166 -0.1818) |
| OKLCH | oklch(48.4% 0.216 302.7) |
| XYZ | xyz(18.2253, 9.5266, 50.7376) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.71
Purple Blue
#5D21D0
ΔE00 5.16
Blueviolet
#8A2BE2
ΔE00 5.36
Burple
#6832E3
ΔE00 5.71
Bluey Purple
#6241C7
ΔE00 5.94
Purple (survey)
#7E1E9C
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792AC0 #71C02A
analogous
#2E2AC0 #792AC0 #C02ABC
triadic
#792AC0 #C0792A #2AC079
tetradic
#792AC0 #C02E2A #71C02A #2ABCC0
square
#792AC0 #C02E2A #71C02A #2ABCC0
split-complementary
#792AC0 #BCC02A #2AC02E
monochromatic
#3A145C #591F8E #792AC0 #974FD8 #B581E3
Accessibility & contrast
On white
7.23
#792AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#792AC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792AC0
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792AC0 | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056C4
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#6A5275
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #792ac0; /* rgb */ color: rgb(121, 42, 192); /* oklch */ color: oklch(48.4% 0.216 302.7);
Tailwind
colors: {
custom: {
50: '#a66dd4',
500: '#792ac0',
950: '#000000',
},
}SCSS
$custom: #792ac0; $custom-light: #a66dd4; $custom-dark: #000000;
JSON
{
"hex": "#792ac0",
"rgb": {
"r": 121,
"g": 42,
"b": 192
},
"hsl": {
"h": 271.6,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.484,
"c": 0.21601,
"h": 302.7
},
"luminance": 0.09527
}Semantic roles & 50–950 ramp
primary
#792AC0
secondary
#A1CC7A
accent
#E7418F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83