#793BB0#793BB0
#793BB0 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 49.0% C 0.180 H 305.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #793BB0 |
|---|---|
| RGB | rgb(121, 59, 176) |
| HSL | hsl(272, 50%, 46%) |
| HSV | hsv(272, 66%, 69%) |
| CMYK | cmyk(31.3%, 66.5%, 0%, 31%) |
| CIE-LAB | lab(38.42, 48.69, -51.93) |
| CIE-LCH | lch(38.42, 71.18, 313.16°) |
| OKLab | oklab(49.04% 0.103 -0.1473) |
| OKLCH | oklch(49.04% 0.18 305) |
| XYZ | xyz(17.2839, 10.3276, 42.1488) |
| Luminance | 0.1033 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.95
Royal Purple
#7851A9
ΔE00 5.85
Bluey Purple
#6241C7
ΔE00 6.07
Purple (survey)
#7E1E9C
ΔE00 6.09
Darkorchid
#9932CC
ΔE00 6.35
Purply
#983FB2
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793BB0 #72B03B
analogous
#3E3BB0 #793BB0 #B03BAC
triadic
#793BB0 #B0793B #3BB079
tetradic
#793BB0 #B03E3B #72B03B #3BACB0
square
#793BB0 #B03E3B #72B03B #3BACB0
split-complementary
#793BB0 #ACB03B #3BB03E
monochromatic
#3A1C54 #592C82 #793BB0 #975FC9 #B58DD9
Accessibility & contrast
On white
6.85
#793BB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#793BB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793BB0
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793BB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793BB0 | 1.00 | 6.85 | 3.07 | 6.85 |
| #FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#185BAD
Tritanopia (blue-blind)
#6F5570
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #793bb0; /* rgb */ color: rgb(121, 59, 176); /* oklch */ color: oklch(49.0% 0.180 305.0);
Tailwind
colors: {
custom: {
50: '#a475c8',
500: '#793bb0',
950: '#000000',
},
}SCSS
$custom: #793bb0; $custom-light: #a475c8; $custom-dark: #000000;
JSON
{
"hex": "#793bb0",
"rgb": {
"r": 121,
"g": 59,
"b": 176
},
"hsl": {
"h": 271.795,
"s": 49.787,
"l": 46.078
},
"oklch": {
"l": 0.49044,
"c": 0.17972,
"h": 305
},
"luminance": 0.10327
}Semantic roles & 50–950 ramp
primary
#793BB0
secondary
#A1C383
accent
#D94E90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82