#794DD0#794DD0
#794DD0 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.192 H 294.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #794DD0 |
|---|---|
| RGB | rgb(121, 77, 208) |
| HSL | hsl(260, 58%, 56%) |
| HSV | hsv(260, 63%, 82%) |
| CMYK | cmyk(41.8%, 63%, 0%, 18.4%) |
| CIE-LAB | lab(44.13, 47.46, -61.38) |
| CIE-LCH | lch(44.13, 77.59, 307.71°) |
| OKLab | oklab(53.87% 0.0799 -0.1751) |
| OKLCH | oklch(53.87% 0.192 294.5) |
| XYZ | xyz(21.9212, 13.9262, 61.1953) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.31
Purpley
#8756E4
ΔE00 4.62
Slate Blue
#6A5ACD
ΔE00 4.67
Bluish Purple
#703BE7
ΔE00 4.87
Bluey Purple
#6241C7
ΔE00 5.13
Iris
#6258C4
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794DD0 #A4D04D
analogous
#4D62D0 #794DD0 #BB4DD0
triadic
#794DD0 #D0794D #4DD079
tetradic
#794DD0 #D04D62 #A4D04D #4DD0BB
square
#794DD0 #D04D62 #A4D04D #4DD0BB
split-complementary
#794DD0 #D0BB4D #62D04D
monochromatic
#422281 #5B2FB1 #794DD0 #9D7DDD #C2AEEA
Accessibility & contrast
On white
5.55
#794DD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#794DD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794DD0
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794DD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794DD0 | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#626B87
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #794dd0; /* rgb */ color: rgb(121, 77, 208); /* oklch */ color: oklch(53.9% 0.192 294.5);
Tailwind
colors: {
custom: {
50: '#a681df',
500: '#794dd0',
950: '#000000',
},
}SCSS
$custom: #794dd0; $custom-light: #a681df; $custom-dark: #000000;
JSON
{
"hex": "#794dd0",
"rgb": {
"r": 121,
"g": 77,
"b": 208
},
"hsl": {
"h": 260.153,
"s": 58.222,
"l": 55.882
},
"oklch": {
"l": 0.53874,
"c": 0.19248,
"h": 294.5
},
"luminance": 0.13927
}Semantic roles & 50–950 ramp
primary
#794DD0
secondary
#C5D8A1
accent
#E146AD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83