#794FCA#794FCA
#794FCA is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.183 H 295.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #794FCA |
|---|---|
| RGB | rgb(121, 79, 202) |
| HSL | hsl(260, 54%, 55%) |
| HSV | hsv(260, 61%, 79%) |
| CMYK | cmyk(40.1%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(44.12, 44.76, -57.94) |
| CIE-LCH | lch(44.12, 73.21, 307.69°) |
| OKLab | oklab(53.74% 0.078 -0.165) |
| OKLCH | oklch(53.74% 0.183 295.3) |
| XYZ | xyz(21.3390, 13.9207, 57.4283) |
| Luminance | 0.1392 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.12
Slate Blue
#6A5ACD
ΔE00 4.45
Purpley
#8756E4
ΔE00 4.95
Iris
#6258C4
ΔE00 5.30
Bluey Purple
#6241C7
ΔE00 5.37
Royal Purple
#7851A9
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794FCA #A0CA4F
analogous
#4F62CA #794FCA #B74FCA
triadic
#794FCA #CA794F #4FCA79
tetradic
#794FCA #CA4F62 #A0CA4F #4FCAB7
square
#794FCA #CA4F62 #A0CA4F #4FCAB7
split-complementary
#794FCA #CAB74F #62CA4F
monochromatic
#42257A #5B33A9 #794FCA #9D7ED8 #C1ADE6
Accessibility & contrast
On white
5.55
#794FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#794FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794FCA
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794FCA | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0966C7
Tritanopia (blue-blind)
#646A85
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #794fca; /* rgb */ color: rgb(121, 79, 202); /* oklch */ color: oklch(53.7% 0.183 295.3);
Tailwind
colors: {
custom: {
50: '#a582db',
500: '#794fca',
950: '#000000',
},
}SCSS
$custom: #794fca; $custom-light: #a582db; $custom-dark: #000000;
JSON
{
"hex": "#794fca",
"rgb": {
"r": 121,
"g": 79,
"b": 202
},
"hsl": {
"h": 260.488,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.53736,
"c": 0.18252,
"h": 295.3
},
"luminance": 0.13921
}Semantic roles & 50–950 ramp
primary
#794FCA
secondary
#C3D4A1
accent
#DD4BAB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83