#792CA4#792CA4
#792CA4 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.186 H 310.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #792CA4 |
|---|---|
| RGB | rgb(121, 44, 164) |
| HSL | hsl(279, 58%, 41%) |
| HSV | hsv(279, 73%, 64%) |
| CMYK | cmyk(26.2%, 73.2%, 0%, 35.7%) |
| CIE-LAB | lab(35.10, 52.84, -50.13) |
| CIE-LCH | lch(35.10, 72.84, 316.51°) |
| OKLab | oklab(46.4% 0.1207 -0.1419) |
| OKLCH | oklch(46.4% 0.186 310.4) |
| XYZ | xyz(15.4854, 8.5470, 35.9487) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.64
Rebeccapurple
#663399
ΔE00 3.81
Darkmagenta
#8B008B
ΔE00 7.17
Darkviolet
#9400D3
ΔE00 7.29
Purply
#983FB2
ΔE00 7.68
Darkorchid
#9932CC
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#792CA4 #57A42C
analogous
#3D2CA4 #792CA4 #A42C93
triadic
#792CA4 #A4792C #2CA479
tetradic
#792CA4 #A43D2C #57A42C #2C93A4
square
#792CA4 #A43D2C #57A42C #2C93A4
split-complementary
#792CA4 #93A42C #2CA43D
monochromatic
#321243 #551F74 #792CA4 #9A41CC #B471D9
Accessibility & contrast
On white
7.75
#792CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#792CA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #792CA4
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##792CA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##792CA4 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#1554A1
Tritanopia (blue-blind)
#734765
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #792ca4; /* rgb */ color: rgb(121, 44, 164); /* oklch */ color: oklch(46.4% 0.186 310.4);
Tailwind
colors: {
custom: {
50: '#a46dc0',
500: '#792ca4',
950: '#000000',
},
}SCSS
$custom: #792ca4; $custom-light: #a46dc0; $custom-dark: #000000;
JSON
{
"hex": "#792ca4",
"rgb": {
"r": 121,
"g": 44,
"b": 164
},
"hsl": {
"h": 278.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.46399,
"c": 0.18633,
"h": 310.4
},
"luminance": 0.08547
}Semantic roles & 50–950 ramp
primary
#792CA4
secondary
#8AC06B
accent
#E1477E
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81