#793CAF#793CAF
#793CAF is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.1% C 0.177 H 305.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #793CAF |
|---|---|
| RGB | rgb(121, 60, 175) |
| HSL | hsl(272, 49%, 46%) |
| HSV | hsv(272, 66%, 69%) |
| CMYK | cmyk(30.9%, 65.7%, 0%, 31.4%) |
| CIE-LAB | lab(38.54, 47.94, -51.15) |
| CIE-LCH | lch(38.54, 70.11, 313.15°) |
| OKLab | oklab(49.1% 0.1019 -0.145) |
| OKLCH | oklch(49.1% 0.177 305.1) |
| XYZ | xyz(17.2372, 10.3919, 41.6469) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 4.95
Royal Purple
#7851A9
ΔE00 5.61
Bluey Purple
#6241C7
ΔE00 6.17
Purple (survey)
#7E1E9C
ΔE00 6.18
Purply
#983FB2
ΔE00 6.34
Darkorchid
#9932CC
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793CAF #72AF3C
analogous
#3F3CAF #793CAF #AF3CAB
triadic
#793CAF #AF793C #3CAF79
tetradic
#793CAF #AF3F3C #72AF3C #3CABAF
square
#793CAF #AF3F3C #72AF3C #3CABAF
split-complementary
#793CAF #ABAF3C #3CAF3F
monochromatic
#3A1D54 #592C81 #793CAF #9760C8 #B58DD8
Accessibility & contrast
On white
6.82
#793CAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#793CAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793CAF
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793CAF | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#1C5BAC
Tritanopia (blue-blind)
#6F5570
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #793caf; /* rgb */ color: rgb(121, 60, 175); /* oklch */ color: oklch(49.1% 0.177 305.1);
Tailwind
colors: {
custom: {
50: '#a476c8',
500: '#793caf',
950: '#000000',
},
}SCSS
$custom: #793caf; $custom-light: #a476c8; $custom-dark: #000000;
JSON
{
"hex": "#793caf",
"rgb": {
"r": 121,
"g": 60,
"b": 175
},
"hsl": {
"h": 271.826,
"s": 48.936,
"l": 46.078
},
"oklch": {
"l": 0.49104,
"c": 0.17725,
"h": 305.1
},
"luminance": 0.10392
}Semantic roles & 50–950 ramp
primary
#793CAF
secondary
#A1C384
accent
#D84F90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82