#793CA2#793CA2
#793CA2 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.2% C 0.163 H 309.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #793CA2 |
|---|---|
| RGB | rgb(121, 60, 162) |
| HSL | hsl(276, 46%, 44%) |
| HSV | hsv(276, 63%, 64%) |
| CMYK | cmyk(25.3%, 63%, 0%, 36.5%) |
| CIE-LAB | lab(37.67, 44.85, -44.78) |
| CIE-LCH | lch(37.67, 63.38, 315.05°) |
| OKLab | oklab(48.2% 0.1027 -0.1263) |
| OKLCH | oklch(48.2% 0.163 309.1) |
| XYZ | xyz(16.0213, 9.9056, 35.2434) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.31
Purple (survey)
#7E1E9C
ΔE00 5.32
Royal Purple
#7851A9
ΔE00 5.62
Purply
#983FB2
ΔE00 6.26
Darkorchid
#9932CC
ΔE00 7.70
Warm Purple
#952E8F
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793CA2 #65A23C
analogous
#463CA2 #793CA2 #A23C98
triadic
#793CA2 #A2793C #3CA279
tetradic
#793CA2 #A2463C #65A23C #3C98A2
square
#793CA2 #A2463C #65A23C #3C98A2
split-complementary
#793CA2 #98A23C #3CA246
monochromatic
#361B49 #582B75 #793CA2 #9859C2 #B486D2
Accessibility & contrast
On white
7.04
#793CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#793CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #793CA2
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793CA2 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0956A5
Deuteranopia (green-blind)
#2D5AA0
Tritanopia (blue-blind)
#735069
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #793ca2; /* rgb */ color: rgb(121, 60, 162); /* oklch */ color: oklch(48.2% 0.163 309.1);
Tailwind
colors: {
custom: {
50: '#a375be',
500: '#793ca2',
950: '#000000',
},
}SCSS
$custom: #793ca2; $custom-light: #a375be; $custom-dark: #000000;
JSON
{
"hex": "#793ca2",
"rgb": {
"r": 121,
"g": 60,
"b": 162
},
"hsl": {
"h": 275.882,
"s": 45.946,
"l": 43.529
},
"oklch": {
"l": 0.48203,
"c": 0.16281,
"h": 309.1
},
"luminance": 0.09905
}Semantic roles & 50–950 ramp
primary
#793CA2
secondary
#97BC7D
accent
#D65287
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81