#793CC4#793CC4
#793CC4 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.200 H 299.7°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #793CC4 |
|---|---|
| RGB | rgb(121, 60, 196) |
| HSL | hsl(267, 54%, 50%) |
| HSV | hsv(267, 69%, 77%) |
| CMYK | cmyk(38.3%, 69.4%, 0%, 23.1%) |
| CIE-LAB | lab(40.05, 53.10, -61.05) |
| CIE-LCH | lch(40.05, 80.91, 311.02°) |
| OKLab | oklab(50.67% 0.0993 -0.1741) |
| OKLCH | oklch(50.67% 0.2 299.7) |
| XYZ | xyz(19.4623, 11.2820, 53.3661) |
| Luminance | 0.1128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.17
Blueviolet
#8A2BE2
ΔE00 4.70
Bluish Purple
#703BE7
ΔE00 5.00
Burple
#6832E3
ΔE00 5.17
Darkorchid
#9932CC
ΔE00 5.57
Blurple
#5539CC
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793CC4 #87C43C
analogous
#3C43C4 #793CC4 #BD3CC4
triadic
#793CC4 #C4793C #3CC479
tetradic
#793CC4 #C43C43 #87C43C #3CC4BD
square
#793CC4 #C43C43 #87C43C #3CC4BD
split-complementary
#793CC4 #C4BD3C #43C43C
monochromatic
#3F1F67 #5C2D96 #793CC4 #996BD2 #BA9AE0
Accessibility & contrast
On white
6.45
#793CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#793CC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793CC4
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793CC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793CC4 | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC8
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#685D7C
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #793cc4; /* rgb */ color: rgb(121, 60, 196); /* oklch */ color: oklch(50.7% 0.200 299.7);
Tailwind
colors: {
custom: {
50: '#a676d7',
500: '#793cc4',
950: '#000000',
},
}SCSS
$custom: #793cc4; $custom-light: #a676d7; $custom-dark: #000000;
JSON
{
"hex": "#793cc4",
"rgb": {
"r": 121,
"g": 60,
"b": 196
},
"hsl": {
"h": 266.912,
"s": 53.543,
"l": 50.196
},
"oklch": {
"l": 0.50667,
"c": 0.20044,
"h": 299.7
},
"luminance": 0.11282
}Semantic roles & 50–950 ramp
primary
#793CC4
secondary
#B1CC90
accent
#DD4B9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83