#792BAC#792BAC
#792BAC is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.195 H 308.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #792BAC |
|---|---|
| RGB | rgb(121, 43, 172) |
| HSL | hsl(276, 60%, 42%) |
| HSV | hsv(276, 75%, 67%) |
| CMYK | cmyk(29.7%, 75%, 0%, 32.5%) |
| CIE-LAB | lab(35.54, 55.03, -54.21) |
| CIE-LCH | lch(35.54, 77.25, 315.43°) |
| OKLab | oklab(46.9% 0.1203 -0.1539) |
| OKLCH | oklch(46.9% 0.195 308) |
| XYZ | xyz(16.1939, 8.7715, 39.8617) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.53
Rebeccapurple
#663399
ΔE00 4.26
Darkviolet
#9400D3
ΔE00 6.33
Purple Blue
#5D21D0
ΔE00 7.26
Darkorchid
#9932CC
ΔE00 7.34
Bluey Purple
#6241C7
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792BAC #5EAC2B
analogous
#392BAC #792BAC #AC2B9F
triadic
#792BAC #AC792B #2BAC79
tetradic
#792BAC #AC392B #5EAC2B #2B9FAC
square
#792BAC #AC392B #5EAC2B #2B9FAC
split-complementary
#792BAC #9FAC2B #2BAC39
monochromatic
#34134A #571F7B #792BAC #9944D0 #B475DC
Accessibility & contrast
On white
7.62
#792BAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#792BAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792BAC
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792BAC | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0054A9
Tritanopia (blue-blind)
#714A6A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #792bac; /* rgb */ color: rgb(121, 43, 172); /* oklch */ color: oklch(46.9% 0.195 308.0);
Tailwind
colors: {
custom: {
50: '#a56cc6',
500: '#792bac',
950: '#000000',
},
}SCSS
$custom: #792bac; $custom-light: #a56cc6; $custom-dark: #000000;
JSON
{
"hex": "#792bac",
"rgb": {
"r": 121,
"g": 43,
"b": 172
},
"hsl": {
"h": 276.279,
"s": 60,
"l": 42.157
},
"oklch": {
"l": 0.46898,
"c": 0.19536,
"h": 308
},
"luminance": 0.08771
}Semantic roles & 50–950 ramp
primary
#792BAC
secondary
#90C46F
accent
#E34583
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82