#793EBF#793EBF
#793EBF is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.192 H 300.6°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #793EBF |
|---|---|
| RGB | rgb(121, 62, 191) |
| HSL | hsl(267, 51%, 50%) |
| HSV | hsv(267, 68%, 75%) |
| CMYK | cmyk(36.6%, 67.5%, 0%, 25.1%) |
| CIE-LAB | lab(40.03, 50.88, -58.16) |
| CIE-LCH | lch(40.03, 77.27, 311.18°) |
| OKLab | oklab(50.54% 0.098 -0.1656) |
| OKLCH | oklch(50.54% 0.192 300.6) |
| XYZ | xyz(19.0095, 11.2716, 50.4543) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.41
Blueviolet
#8A2BE2
ΔE00 5.37
Darkorchid
#9932CC
ΔE00 5.67
Bluish Purple
#703BE7
ΔE00 5.71
Burple
#6832E3
ΔE00 5.92
Royal Purple
#7851A9
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793EBF #84BF3E
analogous
#3E44BF #793EBF #BA3EBF
triadic
#793EBF #BF793E #3EBF79
tetradic
#793EBF #BF3E44 #84BF3E #3EBFBA
square
#793EBF #BF3E44 #84BF3E #3EBFBA
split-complementary
#793EBF #BFBA3E #44BF3E
monochromatic
#3E2063 #5C2F91 #793EBF #996BCF #B999DE
Accessibility & contrast
On white
6.45
#793EBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#793EBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793EBF
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793EBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793EBF | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#6A5C79
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #793ebf; /* rgb */ color: rgb(121, 62, 191); /* oklch */ color: oklch(50.5% 0.192 300.6);
Tailwind
colors: {
custom: {
50: '#a577d3',
500: '#793ebf',
950: '#000000',
},
}SCSS
$custom: #793ebf; $custom-light: #a577d3; $custom-dark: #000000;
JSON
{
"hex": "#793ebf",
"rgb": {
"r": 121,
"g": 62,
"b": 191
},
"hsl": {
"h": 267.442,
"s": 50.988,
"l": 49.608
},
"oklch": {
"l": 0.50538,
"c": 0.19241,
"h": 300.6
},
"luminance": 0.11272
}Semantic roles & 50–950 ramp
primary
#793EBF
secondary
#AFCA8F
accent
#DA4D9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83