#794DB9#794DB9
#794DB9 is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.2% C 0.165 H 299.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #794DB9 |
|---|---|
| RGB | rgb(121, 77, 185) |
| HSL | hsl(264, 44%, 51%) |
| HSV | hsv(264, 58%, 73%) |
| CMYK | cmyk(34.6%, 58.4%, 0%, 27.5%) |
| CIE-LAB | lab(42.57, 41.38, -50.54) |
| CIE-LCH | lch(42.57, 65.32, 309.31°) |
| OKLab | oklab(52.25% 0.0809 -0.1433) |
| OKLCH | oklch(52.25% 0.165 299.5) |
| XYZ | xyz(19.2939, 12.8753, 47.3582) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.15
Bluey Purple
#6241C7
ΔE00 5.82
Light Indigo
#6D5ACF
ΔE00 6.02
Slate Blue
#6A5ACD
ΔE00 6.19
Iris
#6258C4
ΔE00 6.37
Deep Lavender
#8D5EB7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794DB9 #8DB94D
analogous
#4D57B9 #794DB9 #AF4DB9
triadic
#794DB9 #B9794D #4DB979
tetradic
#794DB9 #B94D57 #8DB94D #4DB9AF
square
#794DB9 #B94D57 #8DB94D #4DB9AF
split-complementary
#794DB9 #B9AF4D #57B94D
monochromatic
#402764 #5C3990 #794DB9 #9A79CA #BBA5DC
Accessibility & contrast
On white
5.87
#794DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#794DB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794DB9
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794DB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794DB9 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1664BD
Deuteranopia (green-blind)
#2A64B7
Tritanopia (blue-blind)
#6B637B
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #794db9; /* rgb */ color: rgb(121, 77, 185); /* oklch */ color: oklch(52.2% 0.165 299.5);
Tailwind
colors: {
custom: {
50: '#a481cf',
500: '#794db9',
950: '#000000',
},
}SCSS
$custom: #794db9; $custom-light: #a481cf; $custom-dark: #000000;
JSON
{
"hex": "#794db9",
"rgb": {
"r": 121,
"g": 77,
"b": 185
},
"hsl": {
"h": 264.444,
"s": 43.548,
"l": 51.373
},
"oklch": {
"l": 0.52249,
"c": 0.16455,
"h": 299.5
},
"luminance": 0.12875
}Semantic roles & 50–950 ramp
primary
#794DB9
secondary
#B5C999
accent
#D355A0
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82