#793CBD#793CBD
#793CBD is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.193 H 301.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #793CBD |
|---|---|
| RGB | rgb(121, 60, 189) |
| HSL | hsl(268, 52%, 49%) |
| HSV | hsv(268, 68%, 74%) |
| CMYK | cmyk(36%, 68.3%, 0%, 25.9%) |
| CIE-LAB | lab(39.53, 51.37, -57.80) |
| CIE-LCH | lch(39.53, 77.33, 311.63°) |
| OKLab | oklab(50.13% 0.1004 -0.1646) |
| OKLCH | oklch(50.13% 0.193 301.4) |
| XYZ | xyz(18.6841, 10.9707, 49.2675) |
| Luminance | 0.1097 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.63
Blueviolet
#8A2BE2
ΔE00 5.49
Darkorchid
#9932CC
ΔE00 5.68
Bluish Purple
#703BE7
ΔE00 6.03
Burple
#6832E3
ΔE00 6.06
Royal Purple
#7851A9
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793CBD #80BD3C
analogous
#3C40BD #793CBD #BA3CBD
triadic
#793CBD #BD793C #3CBD79
tetradic
#793CBD #BD3C40 #80BD3C #3CBDBA
square
#793CBD #BD3C40 #80BD3C #3CBDBA
split-complementary
#793CBD #BDBA3C #40BD3C
monochromatic
#3E1F60 #5B2D8F #793CBD #9867CF #B896DE
Accessibility & contrast
On white
6.57
#793CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#793CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793CBD
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793CBD | 1.00 | 6.57 | 3.19 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#6B5A78
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #793cbd; /* rgb */ color: rgb(121, 60, 189); /* oklch */ color: oklch(50.1% 0.193 301.4);
Tailwind
colors: {
custom: {
50: '#a576d2',
500: '#793cbd',
950: '#000000',
},
}SCSS
$custom: #793cbd; $custom-light: #a576d2; $custom-dark: #000000;
JSON
{
"hex": "#793cbd",
"rgb": {
"r": 121,
"g": 60,
"b": 189
},
"hsl": {
"h": 268.372,
"s": 51.807,
"l": 48.824
},
"oklch": {
"l": 0.50132,
"c": 0.19274,
"h": 301.4
},
"luminance": 0.10971
}Semantic roles & 50–950 ramp
primary
#793CBD
secondary
#ACC98C
accent
#DB4D98
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83