#793BAC#793BAC
#793BAC is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.8% C 0.175 H 306.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #793BAC |
|---|---|
| RGB | rgb(121, 59, 172) |
| HSL | hsl(273, 49%, 45%) |
| HSV | hsv(273, 66%, 67%) |
| CMYK | cmyk(29.7%, 65.7%, 0%, 32.5%) |
| CIE-LAB | lab(38.15, 47.73, -49.99) |
| CIE-LCH | lch(38.15, 69.12, 313.67°) |
| OKLab | oklab(48.76% 0.1034 -0.1416) |
| OKLCH | oklch(48.76% 0.175 306.1) |
| XYZ | xyz(16.8939, 10.1716, 40.0950) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.61
Purple (survey)
#7E1E9C
ΔE00 5.73
Royal Purple
#7851A9
ΔE00 5.75
Purply
#983FB2
ΔE00 6.32
Bluey Purple
#6241C7
ΔE00 6.61
Darkorchid
#9932CC
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793BAC #6EAC3B
analogous
#403BAC #793BAC #AC3BA7
triadic
#793BAC #AC793B #3BAC79
tetradic
#793BAC #AC403B #6EAC3B #3BA7AC
square
#793BAC #AC403B #6EAC3B #3BA7AC
split-complementary
#793BAC #A7AC3B #3BAC40
monochromatic
#391C51 #592B7E #793BAC #975DC7 #B48AD7
Accessibility & contrast
On white
6.92
#793BAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#793BAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793BAC
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793BAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793BAC | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#1F5AA9
Tritanopia (blue-blind)
#70536E
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #793bac; /* rgb */ color: rgb(121, 59, 172); /* oklch */ color: oklch(48.8% 0.175 306.1);
Tailwind
colors: {
custom: {
50: '#a475c5',
500: '#793bac',
950: '#000000',
},
}SCSS
$custom: #793bac; $custom-light: #a475c5; $custom-dark: #000000;
JSON
{
"hex": "#793bac",
"rgb": {
"r": 121,
"g": 59,
"b": 172
},
"hsl": {
"h": 272.92,
"s": 48.918,
"l": 45.294
},
"oklch": {
"l": 0.48759,
"c": 0.17531,
"h": 306.1
},
"luminance": 0.10171
}Semantic roles & 50–950 ramp
primary
#793BAC
secondary
#9EC181
accent
#D84F8D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82