#793CD9#793CD9
#793CD9 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.3% C 0.223 H 295.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #793CD9 |
|---|---|
| RGB | rgb(121, 60, 217) |
| HSL | hsl(263, 67%, 54%) |
| HSV | hsv(263, 72%, 85%) |
| CMYK | cmyk(44.2%, 72.4%, 0%, 14.9%) |
| CIE-LAB | lab(41.70, 58.40, -70.50) |
| CIE-LCH | lch(41.70, 91.55, 309.64°) |
| OKLab | oklab(52.35% 0.0953 -0.2019) |
| OKLCH | oklch(52.35% 0.223 295.3) |
| XYZ | xyz(22.0220, 12.3059, 66.8472) |
| Luminance | 0.1231 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.26
Blueviolet
#8A2BE2
ΔE00 3.26
Burple
#6832E3
ΔE00 3.40
Purpley Blue
#5F34E7
ΔE00 4.34
Bluey Purple
#6241C7
ΔE00 4.36
Purpleish Blue
#6140EF
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793CD9 #9CD93C
analogous
#3C4ED9 #793CD9 #C83CD9
triadic
#793CD9 #D9793C #3CD979
tetradic
#793CD9 #D93C4E #9CD93C #3CD9C8
square
#793CD9 #D93C4E #9CD93C #3CD9C8
split-complementary
#793CD9 #D9C83C #4ED93C
monochromatic
#421981 #5C23B5 #793CD9 #9C6FE3 #BFA2ED
Accessibility & contrast
On white
6.07
#793CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#793CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793CD9
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793CD9 | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064DE
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#5E6587
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #793cd9; /* rgb */ color: rgb(121, 60, 217); /* oklch */ color: oklch(52.3% 0.223 295.3);
Tailwind
colors: {
custom: {
50: '#a877e6',
500: '#793cd9',
950: '#000000',
},
}SCSS
$custom: #793cd9; $custom-light: #a877e6; $custom-dark: #000000;
JSON
{
"hex": "#793cd9",
"rgb": {
"r": 121,
"g": 60,
"b": 217
},
"hsl": {
"h": 263.312,
"s": 67.382,
"l": 54.314
},
"oklch": {
"l": 0.52349,
"c": 0.22326,
"h": 295.3
},
"luminance": 0.12306
}Semantic roles & 50–950 ramp
primary
#793CD9
secondary
#C0DA97
accent
#EA3EA7
background
#FAF7FE
surface
#F5EDFC
border
#CFC8D5
text
#110916
muted
#807B84