#793CB0#793CB0
#793CB0 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.2% C 0.178 H 304.8°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #793CB0 |
|---|---|
| RGB | rgb(121, 60, 176) |
| HSL | hsl(272, 49%, 46%) |
| HSV | hsv(272, 66%, 69%) |
| CMYK | cmyk(31.3%, 65.9%, 0%, 31%) |
| CIE-LAB | lab(38.61, 48.19, -51.63) |
| CIE-LCH | lch(38.61, 70.62, 313.02°) |
| OKLab | oklab(49.18% 0.1019 -0.1464) |
| OKLCH | oklch(49.18% 0.178 304.8) |
| XYZ | xyz(17.3357, 10.4313, 42.1660) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.04
Royal Purple
#7851A9
ΔE00 5.64
Bluey Purple
#6241C7
ΔE00 6.04
Purple (survey)
#7E1E9C
ΔE00 6.27
Darkorchid
#9932CC
ΔE00 6.36
Purply
#983FB2
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793CB0 #73B03C
analogous
#3F3CB0 #793CB0 #B03CAD
triadic
#793CB0 #B0793C #3CB079
tetradic
#793CB0 #B03F3C #73B03C #3CADB0
square
#793CB0 #B03F3C #73B03C #3CADB0
split-complementary
#793CB0 #ADB03C #3CB03F
monochromatic
#3A1D55 #5A2C82 #793CB0 #9760C9 #B58ED8
Accessibility & contrast
On white
6.80
#793CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#793CB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793CB0
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793CB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793CB0 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#1A5BAD
Tritanopia (blue-blind)
#6F5571
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #793cb0; /* rgb */ color: rgb(121, 60, 176); /* oklch */ color: oklch(49.2% 0.178 304.8);
Tailwind
colors: {
custom: {
50: '#a476c8',
500: '#793cb0',
950: '#000000',
},
}SCSS
$custom: #793cb0; $custom-light: #a476c8; $custom-dark: #000000;
JSON
{
"hex": "#793cb0",
"rgb": {
"r": 121,
"g": 60,
"b": 176
},
"hsl": {
"h": 271.552,
"s": 49.153,
"l": 46.275
},
"oklch": {
"l": 0.49175,
"c": 0.17837,
"h": 304.8
},
"luminance": 0.10431
}Semantic roles & 50–950 ramp
primary
#793CB0
secondary
#A2C385
accent
#D94F90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82