#793CB5#793CB5
#793CB5 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.5% C 0.184 H 303.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #793CB5 |
|---|---|
| RGB | rgb(121, 60, 181) |
| HSL | hsl(270, 50%, 47%) |
| HSV | hsv(270, 67%, 71%) |
| CMYK | cmyk(33.1%, 66.9%, 0%, 29%) |
| CIE-LAB | lab(38.96, 49.40, -54.03) |
| CIE-LCH | lch(38.96, 73.21, 312.44°) |
| OKLab | oklab(49.54% 0.1013 -0.1535) |
| OKLCH | oklch(49.54% 0.184 303.4) |
| XYZ | xyz(17.8396, 10.6329, 44.8196) |
| Luminance | 0.1063 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.43
Rebeccapurple
#663399
ΔE00 5.54
Royal Purple
#7851A9
ΔE00 5.86
Darkorchid
#9932CC
ΔE00 6.03
Blueviolet
#8A2BE2
ΔE00 6.51
Purply
#983FB2
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793CB5 #78B53C
analogous
#3D3CB5 #793CB5 #B53CB4
triadic
#793CB5 #B5793C #3CB579
tetradic
#793CB5 #B53D3C #78B53C #3CB4B5
square
#793CB5 #B53D3C #78B53C #3CB4B5
split-complementary
#793CB5 #B4B53C #3CB53D
monochromatic
#3C1E59 #5A2D87 #793CB5 #9863CB #B691DB
Accessibility & contrast
On white
6.72
#793CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#793CB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793CB5
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793CB5 | 1.00 | 6.72 | 3.13 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#0C5CB2
Tritanopia (blue-blind)
#6D5773
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #793cb5; /* rgb */ color: rgb(121, 60, 181); /* oklch */ color: oklch(49.5% 0.184 303.4);
Tailwind
colors: {
custom: {
50: '#a476cc',
500: '#793cb5',
950: '#000000',
},
}SCSS
$custom: #793cb5; $custom-light: #a476cc; $custom-dark: #000000;
JSON
{
"hex": "#793cb5",
"rgb": {
"r": 121,
"g": 60,
"b": 181
},
"hsl": {
"h": 270.248,
"s": 50.207,
"l": 47.255
},
"oklch": {
"l": 0.49537,
"c": 0.1839,
"h": 303.4
},
"luminance": 0.10633
}Semantic roles & 50–950 ramp
primary
#793CB5
secondary
#A6C687
accent
#DA4E93
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100913
muted
#7F7B82