#794BCF#794BCF
#794BCF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.194 H 295.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #794BCF |
|---|---|
| RGB | rgb(121, 75, 207) |
| HSL | hsl(261, 58%, 55%) |
| HSV | hsv(261, 64%, 81%) |
| CMYK | cmyk(41.5%, 63.8%, 0%, 18.8%) |
| CIE-LAB | lab(43.66, 48.27, -61.57) |
| CIE-LCH | lch(43.66, 78.24, 308.10°) |
| OKLab | oklab(53.51% 0.0821 -0.1757) |
| OKLCH | oklch(53.51% 0.194 295) |
| XYZ | xyz(21.6607, 13.6016, 60.5035) |
| Luminance | 0.1360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.61
Light Indigo
#6D5ACF
ΔE00 4.76
Bluey Purple
#6241C7
ΔE00 4.80
Purpley
#8756E4
ΔE00 5.03
Slate Blue
#6A5ACD
ΔE00 5.09
Purpleish Blue
#6140EF
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794BCF #A1CF4B
analogous
#4B5FCF #794BCF #BB4BCF
triadic
#794BCF #CF794B #4BCF79
tetradic
#794BCF #CF4B5F #A1CF4B #4BCFBB
square
#794BCF #CF4B5F #A1CF4B #4BCFBB
split-complementary
#794BCF #CFBB4B #5FCF4B
monochromatic
#42227E #5B2EAE #794BCF #9D7BDC #C1ACE9
Accessibility & contrast
On white
5.64
#794BCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#794BCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794BCF
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794BCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794BCF | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#626986
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #794bcf; /* rgb */ color: rgb(121, 75, 207); /* oklch */ color: oklch(53.5% 0.194 295.0);
Tailwind
colors: {
custom: {
50: '#a680df',
500: '#794bcf',
950: '#000000',
},
}SCSS
$custom: #794bcf; $custom-light: #a680df; $custom-dark: #000000;
JSON
{
"hex": "#794bcf",
"rgb": {
"r": 121,
"g": 75,
"b": 207
},
"hsl": {
"h": 260.909,
"s": 57.895,
"l": 55.294
},
"oklch": {
"l": 0.5351,
"c": 0.19393,
"h": 295
},
"luminance": 0.13602
}Semantic roles & 50–950 ramp
primary
#794BCF
secondary
#C3D69F
accent
#E147AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83