#793CB7#793CB7
#793CB7 is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.7% C 0.186 H 302.9°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #793CB7 |
|---|---|
| RGB | rgb(121, 60, 183) |
| HSL | hsl(270, 51%, 48%) |
| HSV | hsv(270, 67%, 72%) |
| CMYK | cmyk(33.9%, 67.2%, 0%, 28.2%) |
| CIE-LAB | lab(39.10, 49.89, -54.98) |
| CIE-LCH | lch(39.10, 74.24, 312.22°) |
| OKLab | oklab(49.68% 0.1011 -0.1562) |
| OKLCH | oklch(49.68% 0.186 302.9) |
| XYZ | xyz(18.0463, 10.7156, 45.9081) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 5.20
Rebeccapurple
#663399
ΔE00 5.76
Darkorchid
#9932CC
ΔE00 5.92
Royal Purple
#7851A9
ΔE00 5.97
Blueviolet
#8A2BE2
ΔE00 6.25
Purply
#983FB2
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793CB7 #7AB73C
analogous
#3C3DB7 #793CB7 #B63CB7
triadic
#793CB7 #B7793C #3CB779
tetradic
#793CB7 #B73C3D #7AB73C #3CB7B6
square
#793CB7 #B73C3D #7AB73C #3CB7B6
split-complementary
#793CB7 #B7B63C #3DB73C
monochromatic
#3C1E5B #5B2D89 #793CB7 #9864CC #B692DB
Accessibility & contrast
On white
6.68
#793CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#793CB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793CB7
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793CB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793CB7 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBB
Deuteranopia (green-blind)
#045CB4
Tritanopia (blue-blind)
#6D5874
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #793cb7; /* rgb */ color: rgb(121, 60, 183); /* oklch */ color: oklch(49.7% 0.186 302.9);
Tailwind
colors: {
custom: {
50: '#a476cd',
500: '#793cb7',
950: '#000000',
},
}SCSS
$custom: #793cb7; $custom-light: #a476cd; $custom-dark: #000000;
JSON
{
"hex": "#793cb7",
"rgb": {
"r": 121,
"g": 60,
"b": 183
},
"hsl": {
"h": 269.756,
"s": 50.617,
"l": 47.647
},
"oklch": {
"l": 0.49684,
"c": 0.18612,
"h": 302.9
},
"luminance": 0.10716
}Semantic roles & 50–950 ramp
primary
#793CB7
secondary
#A8C688
accent
#DA4E94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82