#793FBF#793FBF
#793FBF is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.7% C 0.191 H 300.5°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #793FBF |
|---|---|
| RGB | rgb(121, 63, 191) |
| HSL | hsl(267, 50%, 50%) |
| HSV | hsv(267, 67%, 75%) |
| CMYK | cmyk(36.6%, 67%, 0%, 25.1%) |
| CIE-LAB | lab(40.22, 50.37, -57.86) |
| CIE-LCH | lch(40.22, 76.72, 311.04°) |
| OKLab | oklab(50.67% 0.0969 -0.1647) |
| OKLCH | oklch(50.67% 0.191 300.5) |
| XYZ | xyz(19.0643, 11.3814, 50.4726) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.39
Blueviolet
#8A2BE2
ΔE00 5.44
Darkorchid
#9932CC
ΔE00 5.70
Bluish Purple
#703BE7
ΔE00 5.71
Burple
#6832E3
ΔE00 5.99
Royal Purple
#7851A9
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793FBF #85BF3F
analogous
#3F45BF #793FBF #B93FBF
triadic
#793FBF #BF793F #3FBF79
tetradic
#793FBF #BF3F45 #85BF3F #3FBFB9
square
#793FBF #BF3F45 #85BF3F #3FBFB9
split-complementary
#793FBF #BFB93F #45BF3F
monochromatic
#3F2163 #5C3091 #793FBF #996DCF #B99BDE
Accessibility & contrast
On white
6.41
#793FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#793FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793FBF
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793FBF | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#6A5C7A
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #793fbf; /* rgb */ color: rgb(121, 63, 191); /* oklch */ color: oklch(50.7% 0.191 300.5);
Tailwind
colors: {
custom: {
50: '#a578d3',
500: '#793fbf',
950: '#000000',
},
}SCSS
$custom: #793fbf; $custom-light: #a578d3; $custom-dark: #000000;
JSON
{
"hex": "#793fbf",
"rgb": {
"r": 121,
"g": 63,
"b": 191
},
"hsl": {
"h": 267.188,
"s": 50.394,
"l": 49.804
},
"oklch": {
"l": 0.50668,
"c": 0.19112,
"h": 300.5
},
"luminance": 0.11382
}Semantic roles & 50–950 ramp
primary
#793FBF
secondary
#B0CA90
accent
#DA4E9A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83