#794DCD#794DCD
#794DCD is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.7% C 0.189 H 295.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #794DCD |
|---|---|
| RGB | rgb(121, 77, 205) |
| HSL | hsl(261, 56%, 55%) |
| HSV | hsv(261, 62%, 80%) |
| CMYK | cmyk(41%, 62.4%, 0%, 19.6%) |
| CIE-LAB | lab(43.92, 46.66, -60.00) |
| CIE-LCH | lch(43.92, 76.00, 307.87°) |
| OKLab | oklab(53.65% 0.0801 -0.1711) |
| OKLCH | oklch(53.65% 0.189 295.1) |
| XYZ | xyz(21.5556, 13.7800, 59.2699) |
| Luminance | 0.1378 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.40
Slate Blue
#6A5ACD
ΔE00 4.74
Purpley
#8756E4
ΔE00 4.91
Bluey Purple
#6241C7
ΔE00 5.06
Bluish Purple
#703BE7
ΔE00 5.13
Iris
#6258C4
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794DCD #A1CD4D
analogous
#4D61CD #794DCD #B94DCD
triadic
#794DCD #CD794D #4DCD79
tetradic
#794DCD #CD4D61 #A1CD4D #4DCDB9
square
#794DCD #CD4D61 #A1CD4D #4DCDB9
split-complementary
#794DCD #CDB94D #61CD4D
monochromatic
#42237D #5B30AC #794DCD #9D7DDA #C1ADE8
Accessibility & contrast
On white
5.59
#794DCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#794DCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794DCD
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794DCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794DCD | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#636A86
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #794dcd; /* rgb */ color: rgb(121, 77, 205); /* oklch */ color: oklch(53.7% 0.189 295.1);
Tailwind
colors: {
custom: {
50: '#a581dd',
500: '#794dcd',
950: '#000000',
},
}SCSS
$custom: #794dcd; $custom-light: #a581dd; $custom-dark: #000000;
JSON
{
"hex": "#794dcd",
"rgb": {
"r": 121,
"g": 77,
"b": 205
},
"hsl": {
"h": 260.625,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.53654,
"c": 0.18889,
"h": 295.1
},
"luminance": 0.1378
}Semantic roles & 50–950 ramp
primary
#794DCD
secondary
#C3D6A0
accent
#DF48AC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83