#794CBF#794CBF
#794CBF is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.5% C 0.173 H 298.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #794CBF |
|---|---|
| RGB | rgb(121, 76, 191) |
| HSL | hsl(263, 47%, 52%) |
| HSV | hsv(263, 60%, 75%) |
| CMYK | cmyk(36.6%, 60.2%, 0%, 25.1%) |
| CIE-LAB | lab(42.76, 43.50, -53.76) |
| CIE-LCH | lch(42.76, 69.15, 308.98°) |
| OKLab | oklab(52.51% 0.082 -0.1527) |
| OKLCH | oklch(52.51% 0.173 298.2) |
| XYZ | xyz(19.8712, 12.9952, 50.7415) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.16
Bluey Purple
#6241C7
ΔE00 5.22
Light Indigo
#6D5ACF
ΔE00 5.56
Slate Blue
#6A5ACD
ΔE00 5.77
Iris
#6258C4
ΔE00 6.10
Bluish Purple
#703BE7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794CBF #92BF4C
analogous
#4C59BF #794CBF #B24CBF
triadic
#794CBF #BF794C #4CBF79
tetradic
#794CBF #BF4C59 #92BF4C #4CBFB2
square
#794CBF #BF4C59 #92BF4C #4CBFB2
split-complementary
#794CBF #BFB24C #59BF4C
monochromatic
#41266B #5C3698 #794CBF #9B79CF #BCA6DF
Accessibility & contrast
On white
5.83
#794CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#794CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794CBF
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794CBF | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#1F64BC
Tritanopia (blue-blind)
#69657E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #794cbf; /* rgb */ color: rgb(121, 76, 191); /* oklch */ color: oklch(52.5% 0.173 298.2);
Tailwind
colors: {
custom: {
50: '#a480d3',
500: '#794cbf',
950: '#000000',
},
}SCSS
$custom: #794cbf; $custom-light: #a480d3; $custom-dark: #000000;
JSON
{
"hex": "#794cbf",
"rgb": {
"r": 121,
"g": 76,
"b": 191
},
"hsl": {
"h": 263.478,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.52507,
"c": 0.17335,
"h": 298.2
},
"luminance": 0.12995
}Semantic roles & 50–950 ramp
primary
#794CBF
secondary
#B9CC9A
accent
#D751A2
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83