#793BC3#793BC3
#793BC3 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.201 H 300.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #793BC3 |
|---|---|
| RGB | rgb(121, 59, 195) |
| HSL | hsl(267, 54%, 50%) |
| HSV | hsv(267, 70%, 76%) |
| CMYK | cmyk(37.9%, 69.7%, 0%, 23.5%) |
| CIE-LAB | lab(39.80, 53.34, -60.87) |
| CIE-LCH | lch(39.80, 80.93, 311.23°) |
| OKLab | oklab(50.47% 0.1005 -0.1736) |
| OKLCH | oklch(50.47% 0.201 300.1) |
| XYZ | xyz(19.2970, 11.1328, 52.7514) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.26
Blueviolet
#8A2BE2
ΔE00 4.75
Bluish Purple
#703BE7
ΔE00 5.16
Burple
#6832E3
ΔE00 5.23
Darkorchid
#9932CC
ΔE00 5.56
Blurple
#5539CC
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793BC3 #85C33B
analogous
#3B41C3 #793BC3 #BD3BC3
triadic
#793BC3 #C3793B #3BC379
tetradic
#793BC3 #C33B41 #85C33B #3BC3BD
square
#793BC3 #C33B41 #85C33B #3BC3BD
split-complementary
#793BC3 #C3BD3B #41C33B
monochromatic
#3F1F65 #5C2D94 #793BC3 #9969D2 #B998E0
Accessibility & contrast
On white
6.51
#793BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#793BC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793BC3
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793BC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793BC3 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#685C7B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #793bc3; /* rgb */ color: rgb(121, 59, 195); /* oklch */ color: oklch(50.5% 0.201 300.1);
Tailwind
colors: {
custom: {
50: '#a676d6',
500: '#793bc3',
950: '#000000',
},
}SCSS
$custom: #793bc3; $custom-light: #a676d6; $custom-dark: #000000;
JSON
{
"hex": "#793bc3",
"rgb": {
"r": 121,
"g": 59,
"b": 195
},
"hsl": {
"h": 267.353,
"s": 53.543,
"l": 49.804
},
"oklch": {
"l": 0.50467,
"c": 0.20056,
"h": 300.1
},
"luminance": 0.11133
}Semantic roles & 50–950 ramp
primary
#793BC3
secondary
#B0CC8E
accent
#DD4B9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83