#794FBF#794FBF
#794FBF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.0% C 0.169 H 297.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #794FBF |
|---|---|
| RGB | rgb(121, 79, 191) |
| HSL | hsl(263, 47%, 53%) |
| HSV | hsv(263, 59%, 75%) |
| CMYK | cmyk(36.6%, 58.6%, 0%, 25.1%) |
| CIE-LAB | lab(43.39, 41.83, -52.74) |
| CIE-LCH | lch(43.39, 67.31, 308.42°) |
| OKLab | oklab(52.97% 0.0784 -0.1497) |
| OKLCH | oklch(52.97% 0.169 297.6) |
| XYZ | xyz(20.0827, 13.4182, 50.8120) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.95
Light Indigo
#6D5ACF
ΔE00 5.01
Slate Blue
#6A5ACD
ΔE00 5.23
Iris
#6258C4
ΔE00 5.66
Bluey Purple
#6241C7
ΔE00 5.69
Purpley
#8756E4
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794FBF #95BF4F
analogous
#4F5DBF #794FBF #B14FBF
triadic
#794FBF #BF794F #4FBF79
tetradic
#794FBF #BF4F5D #95BF4F #4FBFB1
square
#794FBF #BF4F5D #95BF4F #4FBFB1
split-complementary
#794FBF #BFB14F #5DBF4F
monochromatic
#41276C #5C3899 #794FBF #9B7CCF #BDA9E0
Accessibility & contrast
On white
5.70
#794FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#794FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794FBF
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794FBF | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F67C3
Deuteranopia (green-blind)
#2565BD
Tritanopia (blue-blind)
#69677F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #794fbf; /* rgb */ color: rgb(121, 79, 191); /* oklch */ color: oklch(53.0% 0.169 297.6);
Tailwind
colors: {
custom: {
50: '#a482d3',
500: '#794fbf',
950: '#000000',
},
}SCSS
$custom: #794fbf; $custom-light: #a482d3; $custom-dark: #000000;
JSON
{
"hex": "#794fbf",
"rgb": {
"r": 121,
"g": 79,
"b": 191
},
"hsl": {
"h": 262.5,
"s": 46.667,
"l": 52.941
},
"oklch": {
"l": 0.52968,
"c": 0.169,
"h": 297.6
},
"luminance": 0.13419
}Semantic roles & 50–950 ramp
primary
#794FBF
secondary
#BBCD9D
accent
#D651A5
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83