#794CCC#794CCC
#794CCC is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.189 H 295.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #794CCC |
|---|---|
| RGB | rgb(121, 76, 204) |
| HSL | hsl(261, 56%, 55%) |
| HSV | hsv(261, 63%, 80%) |
| CMYK | cmyk(40.7%, 62.7%, 0%, 20%) |
| CIE-LAB | lab(43.64, 46.93, -59.86) |
| CIE-LCH | lch(43.64, 76.07, 308.10°) |
| OKLab | oklab(53.43% 0.0813 -0.1707) |
| OKLCH | oklch(53.43% 0.189 295.5) |
| XYZ | xyz(21.3658, 13.5930, 58.6130) |
| Luminance | 0.1359 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.65
Bluey Purple
#6241C7
ΔE00 4.89
Slate Blue
#6A5ACD
ΔE00 4.97
Bluish Purple
#703BE7
ΔE00 5.06
Purpley
#8756E4
ΔE00 5.16
Iris
#6258C4
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794CCC #9FCC4C
analogous
#4C5FCC #794CCC #B94CCC
triadic
#794CCC #CC794C #4CCC79
tetradic
#794CCC #CC4C5F #9FCC4C #4CCCB9
square
#794CCC #CC4C5F #9FCC4C #4CCCB9
split-complementary
#794CCC #CCB94C #5FCC4C
monochromatic
#42237B #5B31AA #794CCC #9D7CDA #C0ABE7
Accessibility & contrast
On white
5.65
#794CCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#794CCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794CCC
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794CCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794CCC | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#646985
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #794ccc; /* rgb */ color: rgb(121, 76, 204); /* oklch */ color: oklch(53.4% 0.189 295.5);
Tailwind
colors: {
custom: {
50: '#a580dc',
500: '#794ccc',
950: '#000000',
},
}SCSS
$custom: #794ccc; $custom-light: #a580dc; $custom-dark: #000000;
JSON
{
"hex": "#794ccc",
"rgb": {
"r": 121,
"g": 76,
"b": 204
},
"hsl": {
"h": 261.094,
"s": 55.652,
"l": 54.902
},
"oklch": {
"l": 0.53434,
"c": 0.18903,
"h": 295.5
},
"luminance": 0.13593
}Semantic roles & 50–950 ramp
primary
#794CCC
secondary
#C2D59F
accent
#DF49AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83