#793ABB#793ABB
#793ABB is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.193 H 302.2°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #793ABB |
|---|---|
| RGB | rgb(121, 58, 187) |
| HSL | hsl(269, 53%, 48%) |
| HSV | hsv(269, 69%, 73%) |
| CMYK | cmyk(35.3%, 69%, 0%, 26.7%) |
| CIE-LAB | lab(39.03, 51.85, -57.43) |
| CIE-LCH | lch(39.03, 77.37, 312.07°) |
| OKLab | oklab(49.73% 0.1028 -0.1635) |
| OKLCH | oklch(49.73% 0.193 302.2) |
| XYZ | xyz(18.3657, 10.6789, 48.0977) |
| Luminance | 0.1068 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.90
Blueviolet
#8A2BE2
ΔE00 5.66
Darkorchid
#9932CC
ΔE00 5.75
Rebeccapurple
#663399
ΔE00 6.07
Darkviolet
#9400D3
ΔE00 6.23
Burple
#6832E3
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793ABB #7CBB3A
analogous
#3A3CBB #793ABB #B93ABB
triadic
#793ABB #BB793A #3ABB79
tetradic
#793ABB #BB3A3C #7CBB3A #3ABBB9
square
#793ABB #BB3A3C #7CBB3A #3ABBB9
split-complementary
#793ABB #BBB93A #3CBB3A
monochromatic
#3D1D5E #5B2C8C #793ABB #9863CF #B792DD
Accessibility & contrast
On white
6.70
#793ABB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#793ABB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793ABB
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793ABB | 1.00 | 6.70 | 3.14 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#6B5876
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #793abb; /* rgb */ color: rgb(121, 58, 187); /* oklch */ color: oklch(49.7% 0.193 302.2);
Tailwind
colors: {
custom: {
50: '#a575d0',
500: '#793abb',
950: '#000000',
},
}SCSS
$custom: #793abb; $custom-light: #a575d0; $custom-dark: #000000;
JSON
{
"hex": "#793abb",
"rgb": {
"r": 121,
"g": 58,
"b": 187
},
"hsl": {
"h": 269.302,
"s": 52.653,
"l": 48.039
},
"oklch": {
"l": 0.4973,
"c": 0.19308,
"h": 302.2
},
"luminance": 0.10679
}Semantic roles & 50–950 ramp
primary
#793ABB
secondary
#A9C888
accent
#DC4C96
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82