#792BAA#792BAA
#792BAA is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.193 H 308.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #792BAA |
|---|---|
| RGB | rgb(121, 43, 170) |
| HSL | hsl(277, 60%, 42%) |
| HSV | hsv(277, 75%, 67%) |
| CMYK | cmyk(28.8%, 74.7%, 0%, 33.3%) |
| CIE-LAB | lab(35.39, 54.58, -53.26) |
| CIE-LCH | lch(35.39, 76.26, 315.70°) |
| OKLab | oklab(46.75% 0.1207 -0.1511) |
| OKLCH | oklch(46.75% 0.193 308.6) |
| XYZ | xyz(16.0032, 8.6953, 38.8577) |
| Luminance | 0.0869 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.27
Rebeccapurple
#663399
ΔE00 4.12
Darkviolet
#9400D3
ΔE00 6.55
Darkorchid
#9932CC
ΔE00 7.50
Purple Blue
#5D21D0
ΔE00 7.52
Purply
#983FB2
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792BAA #5CAA2B
analogous
#392BAA #792BAA #AA2B9C
triadic
#792BAA #AA792B #2BAA79
tetradic
#792BAA #AA392B #5CAA2B #2B9CAA
square
#792BAA #AA392B #5CAA2B #2B9CAA
split-complementary
#792BAA #9CAA2B #2BAA39
monochromatic
#331248 #561F79 #792BAA #9943CF #B474DC
Accessibility & contrast
On white
7.67
#792BAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#792BAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792BAA
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792BAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792BAA | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050AE
Deuteranopia (green-blind)
#0054A7
Tritanopia (blue-blind)
#714968
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #792baa; /* rgb */ color: rgb(121, 43, 170); /* oklch */ color: oklch(46.7% 0.193 308.6);
Tailwind
colors: {
custom: {
50: '#a46cc4',
500: '#792baa',
950: '#000000',
},
}SCSS
$custom: #792baa; $custom-light: #a46cc4; $custom-dark: #000000;
JSON
{
"hex": "#792baa",
"rgb": {
"r": 121,
"g": 43,
"b": 170
},
"hsl": {
"h": 276.85,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.46745,
"c": 0.19339,
"h": 308.6
},
"luminance": 0.08695
}Semantic roles & 50–950 ramp
primary
#792BAA
secondary
#8FC36E
accent
#E34582
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82