#793FC0#793FC0
#793FC0 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.192 H 300.2°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #793FC0 |
|---|---|
| RGB | rgb(121, 63, 192) |
| HSL | hsl(267, 51%, 50%) |
| HSV | hsv(267, 67%, 75%) |
| CMYK | cmyk(37%, 67.2%, 0%, 24.7%) |
| CIE-LAB | lab(40.29, 50.63, -58.33) |
| CIE-LCH | lch(40.29, 77.23, 310.96°) |
| OKLab | oklab(50.74% 0.0968 -0.1661) |
| OKLCH | oklch(50.74% 0.192 300.2) |
| XYZ | xyz(19.1748, 11.4256, 51.0541) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.32
Blueviolet
#8A2BE2
ΔE00 5.33
Bluish Purple
#703BE7
ΔE00 5.57
Darkorchid
#9932CC
ΔE00 5.68
Burple
#6832E3
ΔE00 5.87
Royal Purple
#7851A9
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793FC0 #86C03F
analogous
#3F45C0 #793FC0 #BA3FC0
triadic
#793FC0 #C0793F #3FC079
tetradic
#793FC0 #C03F45 #86C03F #3FC0BA
square
#793FC0 #C03F45 #86C03F #3FC0BA
split-complementary
#793FC0 #C0BA3F #45C03F
monochromatic
#3F2164 #5C3092 #793FC0 #996DCF #B99BDE
Accessibility & contrast
On white
6.39
#793FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#793FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793FC0
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793FC0 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#695D7A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #793fc0; /* rgb */ color: rgb(121, 63, 192); /* oklch */ color: oklch(50.7% 0.192 300.2);
Tailwind
colors: {
custom: {
50: '#a578d4',
500: '#793fc0',
950: '#000000',
},
}SCSS
$custom: #793fc0; $custom-light: #a578d4; $custom-dark: #000000;
JSON
{
"hex": "#793fc0",
"rgb": {
"r": 121,
"g": 63,
"b": 192
},
"hsl": {
"h": 266.977,
"s": 50.588,
"l": 50
},
"oklch": {
"l": 0.50743,
"c": 0.19224,
"h": 300.2
},
"luminance": 0.11426
}Semantic roles & 50–950 ramp
primary
#793FC0
secondary
#B0CA91
accent
#DA4E9B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83