#793CC3#793CC3
#793CC3 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.6% C 0.199 H 299.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #793CC3 |
|---|---|
| RGB | rgb(121, 60, 195) |
| HSL | hsl(267, 53%, 50%) |
| HSV | hsv(267, 69%, 76%) |
| CMYK | cmyk(37.9%, 69.2%, 0%, 23.5%) |
| CIE-LAB | lab(39.98, 52.86, -60.59) |
| CIE-LCH | lch(39.98, 80.40, 311.10°) |
| OKLab | oklab(50.59% 0.0995 -0.1727) |
| OKLCH | oklch(50.59% 0.199 299.9) |
| XYZ | xyz(19.3489, 11.2366, 52.7687) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.22
Blueviolet
#8A2BE2
ΔE00 4.80
Bluish Purple
#703BE7
ΔE00 5.14
Burple
#6832E3
ΔE00 5.29
Darkorchid
#9932CC
ΔE00 5.57
Blurple
#5539CC
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793CC3 #86C33C
analogous
#3C43C3 #793CC3 #BC3CC3
triadic
#793CC3 #C3793C #3CC379
tetradic
#793CC3 #C33C43 #86C33C #3CC3BC
square
#793CC3 #C33C43 #86C33C #3CC3BC
split-complementary
#793CC3 #C3BC3C #43C33C
monochromatic
#3F1F65 #5C2E94 #793CC3 #996BD1 #B99AE0
Accessibility & contrast
On white
6.47
#793CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#793CC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793CC3
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793CC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793CC3 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#685C7B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #793cc3; /* rgb */ color: rgb(121, 60, 195); /* oklch */ color: oklch(50.6% 0.199 299.9);
Tailwind
colors: {
custom: {
50: '#a576d6',
500: '#793cc3',
950: '#000000',
},
}SCSS
$custom: #793cc3; $custom-light: #a576d6; $custom-dark: #000000;
JSON
{
"hex": "#793cc3",
"rgb": {
"r": 121,
"g": 60,
"b": 195
},
"hsl": {
"h": 267.111,
"s": 52.941,
"l": 50
},
"oklch": {
"l": 0.5059,
"c": 0.19934,
"h": 299.9
},
"luminance": 0.11237
}Semantic roles & 50–950 ramp
primary
#793CC3
secondary
#B0CC8F
accent
#DC4B9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83