#794DC3#794DC3
#794DC3 is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.9% C 0.177 H 297.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #794DC3 |
|---|---|
| RGB | rgb(121, 77, 195) |
| HSL | hsl(262, 50%, 53%) |
| HSV | hsv(262, 61%, 76%) |
| CMYK | cmyk(37.9%, 60.5%, 0%, 23.5%) |
| CIE-LAB | lab(43.23, 44.00, -55.32) |
| CIE-LCH | lch(43.23, 70.68, 308.50°) |
| OKLab | oklab(52.94% 0.0807 -0.1573) |
| OKLCH | oklch(52.94% 0.177 297.1) |
| XYZ | xyz(20.3869, 13.3125, 53.1147) |
| Luminance | 0.1331 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.68
Light Indigo
#6D5ACF
ΔE00 5.01
Bluey Purple
#6241C7
ΔE00 5.17
Slate Blue
#6A5ACD
ΔE00 5.26
Iris
#6258C4
ΔE00 5.76
Purpley
#8756E4
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794DC3 #97C34D
analogous
#4D5CC3 #794DC3 #B44DC3
triadic
#794DC3 #C3794D #4DC379
tetradic
#794DC3 #C34D5C #97C34D #4DC3B4
square
#794DC3 #C34D5C #97C34D #4DC3B4
split-complementary
#794DC3 #C3B44D #5CC34D
monochromatic
#412670 #5C359E #794DC3 #9B7BD2 #BEA9E2
Accessibility & contrast
On white
5.73
#794DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#794DC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794DC3
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794DC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794DC3 | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#1965C0
Tritanopia (blue-blind)
#676781
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #794dc3; /* rgb */ color: rgb(121, 77, 195); /* oklch */ color: oklch(52.9% 0.177 297.1);
Tailwind
colors: {
custom: {
50: '#a481d6',
500: '#794dc3',
950: '#000000',
},
}SCSS
$custom: #794dc3; $custom-light: #a481d6; $custom-dark: #000000;
JSON
{
"hex": "#794dc3",
"rgb": {
"r": 121,
"g": 77,
"b": 195
},
"hsl": {
"h": 262.373,
"s": 49.58,
"l": 53.333
},
"oklch": {
"l": 0.52938,
"c": 0.17678,
"h": 297.1
},
"luminance": 0.13313
}Semantic roles & 50–950 ramp
primary
#794DC3
secondary
#BCCF9D
accent
#D94FA5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83