#793CA3#793CA3
#793CA3 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.164 H 308.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #793CA3 |
|---|---|
| RGB | rgb(121, 60, 163) |
| HSL | hsl(276, 46%, 44%) |
| HSV | hsv(276, 63%, 64%) |
| CMYK | cmyk(25.8%, 63.2%, 0%, 36.1%) |
| CIE-LAB | lab(37.74, 45.09, -45.28) |
| CIE-LCH | lch(37.74, 63.90, 314.88°) |
| OKLab | oklab(48.27% 0.1027 -0.1278) |
| OKLCH | oklch(48.27% 0.164 308.8) |
| XYZ | xyz(16.1106, 9.9413, 35.7134) |
| Luminance | 0.0994 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.31
Purple (survey)
#7E1E9C
ΔE00 5.36
Royal Purple
#7851A9
ΔE00 5.58
Purply
#983FB2
ΔE00 6.24
Darkorchid
#9932CC
ΔE00 7.58
Bluey Purple
#6241C7
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793CA3 #66A33C
analogous
#453CA3 #793CA3 #A33C99
triadic
#793CA3 #A3793C #3CA379
tetradic
#793CA3 #A3453C #66A33C #3C99A3
square
#793CA3 #A3453C #66A33C #3C99A3
split-complementary
#793CA3 #99A33C #3CA345
monochromatic
#371B4A #582C76 #793CA3 #985AC2 #B487D3
Accessibility & contrast
On white
7.03
#793CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#793CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #793CA3
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793CA3 | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0556A6
Deuteranopia (green-blind)
#2C5AA1
Tritanopia (blue-blind)
#73506A
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #793ca3; /* rgb */ color: rgb(121, 60, 163); /* oklch */ color: oklch(48.3% 0.164 308.8);
Tailwind
colors: {
custom: {
50: '#a375bf',
500: '#793ca3',
950: '#000000',
},
}SCSS
$custom: #793ca3; $custom-light: #a375bf; $custom-dark: #000000;
JSON
{
"hex": "#793ca3",
"rgb": {
"r": 121,
"g": 60,
"b": 163
},
"hsl": {
"h": 275.534,
"s": 46.188,
"l": 43.725
},
"oklch": {
"l": 0.4827,
"c": 0.16392,
"h": 308.8
},
"luminance": 0.09941
}Semantic roles & 50–950 ramp
primary
#793CA3
secondary
#98BD7E
accent
#D65288
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81