#794CF3#794CF3
#794CF3 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.235 H 289.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #794CF3 |
|---|---|
| RGB | rgb(121, 76, 243) |
| HSL | hsl(256, 87%, 63%) |
| HSV | hsv(256, 69%, 95%) |
| CMYK | cmyk(50.2%, 68.7%, 0%, 4.7%) |
| CIE-LAB | lab(46.58, 57.47, -77.26) |
| CIE-LCH | lch(46.58, 96.29, 306.64°) |
| OKLab | oklab(56.47% 0.0762 -0.2218) |
| OKLCH | oklch(56.47% 0.235 289) |
| XYZ | xyz(26.6426, 15.7037, 86.4039) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.79
Purpleish Blue
#6140EF
ΔE00 4.67
Bluish Purple
#703BE7
ΔE00 4.67
Light Indigo
#6D5ACF
ΔE00 5.95
Slate Blue
#6A5ACD
ΔE00 6.38
Blueviolet
#8A2BE2
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794CF3 #C6F34C
analogous
#4C72F3 #794CF3 #CD4CF3
triadic
#794CF3 #F3794C #4CF379
tetradic
#794CF3 #F34C72 #C6F34C #4CF3CD
square
#794CF3 #F34C72 #C6F34C #4CF3CD
split-complementary
#794CF3 #F3CD4C #72F34C
monochromatic
#3B0CB8 #4E13EF #794CF3 #A485F7 #CFBFFB
Accessibility & contrast
On white
5.07
#794CF3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#794CF3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794CF3
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794CF3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794CF3 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F8
Deuteranopia (green-blind)
#006AF0
Tritanopia (blue-blind)
#4D779A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #794cf3; /* rgb */ color: rgb(121, 76, 243); /* oklch */ color: oklch(56.5% 0.235 289.0);
Tailwind
colors: {
custom: {
50: '#aa81f8',
500: '#794cf3',
950: '#000000',
},
}SCSS
$custom: #794cf3; $custom-light: #aa81f8; $custom-dark: #000000;
JSON
{
"hex": "#794cf3",
"rgb": {
"r": 121,
"g": 76,
"b": 243
},
"hsl": {
"h": 256.168,
"s": 87.435,
"l": 62.549
},
"oklch": {
"l": 0.56468,
"c": 0.23453,
"h": 289
},
"luminance": 0.15705
}Semantic roles & 50–950 ramp
primary
#794CF3
secondary
#DBECAF
accent
#E402A7
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85