#792EAB#792EAB
#792EAB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.191 H 308.0°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #792EAB |
|---|---|
| RGB | rgb(121, 46, 171) |
| HSL | hsl(276, 58%, 43%) |
| HSV | hsv(276, 73%, 67%) |
| CMYK | cmyk(29.2%, 73.1%, 0%, 32.9%) |
| CIE-LAB | lab(35.91, 53.55, -53.02) |
| CIE-LCH | lch(35.91, 75.36, 315.29°) |
| OKLab | oklab(47.13% 0.1176 -0.1504) |
| OKLCH | oklch(47.13% 0.191 308) |
| XYZ | xyz(16.2113, 8.9595, 39.3955) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.69
Rebeccapurple
#663399
ΔE00 4.10
Darkviolet
#9400D3
ΔE00 6.54
Darkorchid
#9932CC
ΔE00 7.22
Purply
#983FB2
ΔE00 7.46
Purple Blue
#5D21D0
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792EAB #60AB2E
analogous
#3A2EAB #792EAB #AB2E9F
triadic
#792EAB #AB792E #2EAB79
tetradic
#792EAB #AB3A2E #60AB2E #2E9FAB
square
#792EAB #AB3A2E #60AB2E #2E9FAB
split-complementary
#792EAB #9FAB2E #2EAB3A
monochromatic
#35144B #57217B #792EAB #9848CE #B479DB
Accessibility & contrast
On white
7.52
#792EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#792EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792EAB
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792EAB | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AF
Deuteranopia (green-blind)
#0355A8
Tritanopia (blue-blind)
#714B6A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #792eab; /* rgb */ color: rgb(121, 46, 171); /* oklch */ color: oklch(47.1% 0.191 308.0);
Tailwind
colors: {
custom: {
50: '#a46ec5',
500: '#792eab',
950: '#000000',
},
}SCSS
$custom: #792eab; $custom-light: #a46ec5; $custom-dark: #000000;
JSON
{
"hex": "#792eab",
"rgb": {
"r": 121,
"g": 46,
"b": 171
},
"hsl": {
"h": 276,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.47133,
"c": 0.19094,
"h": 308
},
"luminance": 0.08959
}Semantic roles & 50–950 ramp
primary
#792EAB
secondary
#92C372
accent
#E14785
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82