#793199#793199
#793199 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.2% C 0.169 H 313.6°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #793199 |
|---|---|
| RGB | rgb(121, 49, 153) |
| HSL | hsl(282, 51%, 40%) |
| HSV | hsv(282, 68%, 60%) |
| CMYK | cmyk(20.9%, 68%, 0%, 40%) |
| CIE-LAB | lab(35.13, 48.21, -43.43) |
| CIE-LCH | lch(35.13, 64.89, 317.98°) |
| OKLab | oklab(46.18% 0.1165 -0.1223) |
| OKLCH | oklch(46.18% 0.169 313.6) |
| XYZ | xyz(14.7323, 8.5619, 31.0074) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 2.96
Rebeccapurple
#663399
ΔE00 3.94
Darkmagenta
#8B008B
ΔE00 6.44
Warm Purple
#952E8F
ΔE00 6.89
Purple
#800080
ΔE00 7.18
Purply
#983FB2
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793199 #519931
analogous
#453199 #793199 #993185
triadic
#793199 #997931 #319979
tetradic
#793199 #994531 #519931 #318599
square
#793199 #994531 #519931 #318599
split-complementary
#793199 #859931 #319945
monochromatic
#30133C #54226B #793199 #9C44C3 #B572D2
Accessibility & contrast
On white
7.74
#793199 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#793199 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #793199
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793199 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793199 | 1.00 | 7.74 | 2.71 | 7.74 |
| #FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#2B5497
Tritanopia (blue-blind)
#764661
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #793199; /* rgb */ color: rgb(121, 49, 153); /* oklch */ color: oklch(46.2% 0.169 313.6);
Tailwind
colors: {
custom: {
50: '#a36fb8',
500: '#793199',
950: '#000000',
},
}SCSS
$custom: #793199; $custom-light: #a36fb8; $custom-dark: #000000;
JSON
{
"hex": "#793199",
"rgb": {
"r": 121,
"g": 49,
"b": 153
},
"hsl": {
"h": 281.538,
"s": 51.485,
"l": 39.608
},
"oklch": {
"l": 0.46179,
"c": 0.1689,
"h": 313.6
},
"luminance": 0.08561
}Semantic roles & 50–950 ramp
primary
#793199
secondary
#84BA6C
accent
#DB4D79
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0811
muted
#7F7B80