#794DC5#794DC5
#794DC5 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.1% C 0.179 H 296.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #794DC5 |
|---|---|
| RGB | rgb(121, 77, 197) |
| HSL | hsl(262, 51%, 54%) |
| HSV | hsv(262, 61%, 77%) |
| CMYK | cmyk(38.6%, 60.9%, 0%, 22.7%) |
| CIE-LAB | lab(43.37, 44.53, -56.26) |
| CIE-LCH | lch(43.37, 71.75, 308.36°) |
| OKLab | oklab(53.08% 0.0806 -0.1601) |
| OKLCH | oklch(53.08% 0.179 296.7) |
| XYZ | xyz(20.6145, 13.4036, 54.3135) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.85
Royal Purple
#7851A9
ΔE00 4.98
Bluey Purple
#6241C7
ΔE00 5.10
Slate Blue
#6A5ACD
ΔE00 5.12
Iris
#6258C4
ΔE00 5.69
Purpley
#8756E4
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794DC5 #99C54D
analogous
#4D5DC5 #794DC5 #B54DC5
triadic
#794DC5 #C5794D #4DC579
tetradic
#794DC5 #C54D5D #99C54D #4DC5B5
square
#794DC5 #C54D5D #99C54D #4DC5B5
split-complementary
#794DC5 #C5B54D #5DC54D
monochromatic
#422572 #5C34A0 #794DC5 #9C7BD4 #BEA9E3
Accessibility & contrast
On white
5.71
#794DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#794DC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794DC5
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794DC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794DC5 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C9
Deuteranopia (green-blind)
#1465C2
Tritanopia (blue-blind)
#676782
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #794dc5; /* rgb */ color: rgb(121, 77, 197); /* oklch */ color: oklch(53.1% 0.179 296.7);
Tailwind
colors: {
custom: {
50: '#a581d7',
500: '#794dc5',
950: '#000000',
},
}SCSS
$custom: #794dc5; $custom-light: #a581d7; $custom-dark: #000000;
JSON
{
"hex": "#794dc5",
"rgb": {
"r": 121,
"g": 77,
"b": 197
},
"hsl": {
"h": 262,
"s": 50.847,
"l": 53.725
},
"oklch": {
"l": 0.53079,
"c": 0.17921,
"h": 296.7
},
"luminance": 0.13404
}Semantic roles & 50–950 ramp
primary
#794DC5
secondary
#BED19D
accent
#DA4DA7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83