#793ACD#793ACD
#793ACD is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.1% C 0.213 H 298.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #793ACD |
|---|---|
| RGB | rgb(121, 58, 205) |
| HSL | hsl(266, 60%, 52%) |
| HSV | hsv(266, 72%, 80%) |
| CMYK | cmyk(41%, 71.7%, 0%, 19.6%) |
| CIE-LAB | lab(40.41, 56.30, -65.70) |
| CIE-LCH | lch(40.41, 86.52, 310.60°) |
| OKLab | oklab(51.14% 0.0996 -0.1878) |
| OKLCH | oklch(51.14% 0.213 298) |
| XYZ | xyz(20.4148, 11.4985, 58.8896) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.74
Bluish Purple
#703BE7
ΔE00 3.79
Bluey Purple
#6241C7
ΔE00 4.05
Burple
#6832E3
ΔE00 4.06
Purpley Blue
#5F34E7
ΔE00 5.11
Darkorchid
#9932CC
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793ACD #8ECD3A
analogous
#3A45CD #793ACD #C23ACD
triadic
#793ACD #CD793A #3ACD79
tetradic
#793ACD #CD3A45 #8ECD3A #3ACDC2
square
#793ACD #CD3A45 #8ECD3A #3ACDC2
split-complementary
#793ACD #CDC23A #45CD3A
monochromatic
#401C70 #5C29A1 #793ACD #9A6BD9 #BB9CE6
Accessibility & contrast
On white
6.36
#793ACD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#793ACD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793ACD
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793ACD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793ACD | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#645F80
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #793acd; /* rgb */ color: rgb(121, 58, 205); /* oklch */ color: oklch(51.1% 0.213 298.0);
Tailwind
colors: {
custom: {
50: '#a776dd',
500: '#793acd',
950: '#000000',
},
}SCSS
$custom: #793acd; $custom-light: #a776dd; $custom-dark: #000000;
JSON
{
"hex": "#793acd",
"rgb": {
"r": 121,
"g": 58,
"b": 205
},
"hsl": {
"h": 265.714,
"s": 59.514,
"l": 51.569
},
"oklch": {
"l": 0.51137,
"c": 0.21256,
"h": 298
},
"luminance": 0.11499
}Semantic roles & 50–950 ramp
primary
#793ACD
secondary
#B6D291
accent
#E3459F
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83