#794CD2#794CD2
#794CD2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.196 H 294.3°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #794CD2 |
|---|---|
| RGB | rgb(121, 76, 210) |
| HSL | hsl(260, 60%, 56%) |
| HSV | hsv(260, 64%, 82%) |
| CMYK | cmyk(42.4%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(44.07, 48.54, -62.63) |
| CIE-LCH | lch(44.07, 79.23, 307.78°) |
| OKLab | oklab(53.88% 0.0808 -0.1788) |
| OKLCH | oklch(53.88% 0.196 294.3) |
| XYZ | xyz(22.0993, 13.8864, 62.4763) |
| Luminance | 0.1389 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.48
Bluish Purple
#703BE7
ΔE00 4.53
Purpley
#8756E4
ΔE00 4.60
Slate Blue
#6A5ACD
ΔE00 4.85
Bluey Purple
#6241C7
ΔE00 5.05
Purpleish Blue
#6140EF
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794CD2 #A5D24C
analogous
#4C62D2 #794CD2 #BC4CD2
triadic
#794CD2 #D2794C #4CD279
tetradic
#794CD2 #D24C62 #A5D24C #4CD2BC
square
#794CD2 #D24C62 #A5D24C #4CD2BC
split-complementary
#794CD2 #D2BC4C #62D24C
monochromatic
#422183 #5A2DB4 #794CD2 #9E7DDE #C2AEEB
Accessibility & contrast
On white
5.56
#794CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#794CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794CD2
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794CD2 | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#616B88
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #794cd2; /* rgb */ color: rgb(121, 76, 210); /* oklch */ color: oklch(53.9% 0.196 294.3);
Tailwind
colors: {
custom: {
50: '#a680e1',
500: '#794cd2',
950: '#000000',
},
}SCSS
$custom: #794cd2; $custom-light: #a680e1; $custom-dark: #000000;
JSON
{
"hex": "#794cd2",
"rgb": {
"r": 121,
"g": 76,
"b": 210
},
"hsl": {
"h": 260.149,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.53877,
"c": 0.19619,
"h": 294.3
},
"luminance": 0.13887
}Semantic roles & 50–950 ramp
primary
#794CD2
secondary
#C6D9A1
accent
#E345AE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83