#794CCA#794CCA
#794CCA is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.187 H 295.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #794CCA |
|---|---|
| RGB | rgb(121, 76, 202) |
| HSL | hsl(261, 54%, 55%) |
| HSV | hsv(261, 62%, 79%) |
| CMYK | cmyk(40.1%, 62.4%, 0%, 20.8%) |
| CIE-LAB | lab(43.50, 46.40, -58.93) |
| CIE-LCH | lch(43.50, 75.01, 308.21°) |
| OKLab | oklab(53.29% 0.0814 -0.1679) |
| OKLCH | oklch(53.29% 0.187 295.9) |
| XYZ | xyz(21.1275, 13.4977, 57.3578) |
| Luminance | 0.1350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.74
Bluey Purple
#6241C7
ΔE00 4.88
Slate Blue
#6A5ACD
ΔE00 5.05
Bluish Purple
#703BE7
ΔE00 5.26
Purpley
#8756E4
ΔE00 5.36
Iris
#6258C4
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794CCA #9DCA4C
analogous
#4C5ECA #794CCA #B84CCA
triadic
#794CCA #CA794C #4CCA79
tetradic
#794CCA #CA4C5E #9DCA4C #4CCAB8
square
#794CCA #CA4C5E #9DCA4C #4CCAB8
split-complementary
#794CCA #CAB84C #5ECA4C
monochromatic
#422478 #5C32A7 #794CCA #9C7BD8 #C0AAE6
Accessibility & contrast
On white
5.68
#794CCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#794CCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794CCA
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794CCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794CCA | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#656884
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #794cca; /* rgb */ color: rgb(121, 76, 202); /* oklch */ color: oklch(53.3% 0.187 295.9);
Tailwind
colors: {
custom: {
50: '#a580db',
500: '#794cca',
950: '#000000',
},
}SCSS
$custom: #794cca; $custom-light: #a580db; $custom-dark: #000000;
JSON
{
"hex": "#794cca",
"rgb": {
"r": 121,
"g": 76,
"b": 202
},
"hsl": {
"h": 261.429,
"s": 54.31,
"l": 54.51
},
"oklch": {
"l": 0.53289,
"c": 0.18664,
"h": 295.9
},
"luminance": 0.13498
}Semantic roles & 50–950 ramp
primary
#794CCA
secondary
#C1D49E
accent
#DE4AA9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83