#794FDA#794FDA
#794FDA is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 54.9% C 0.202 H 292.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #794FDA |
|---|---|
| RGB | rgb(121, 79, 218) |
| HSL | hsl(258, 65%, 58%) |
| HSV | hsv(258, 64%, 85%) |
| CMYK | cmyk(44.5%, 63.8%, 0%, 14.5%) |
| CIE-LAB | lab(45.25, 49.08, -65.30) |
| CIE-LCH | lch(45.25, 81.69, 306.93°) |
| OKLab | oklab(54.91% 0.0768 -0.1867) |
| OKLCH | oklch(54.91% 0.202 292.4) |
| XYZ | xyz(23.3325, 14.7181, 67.9276) |
| Luminance | 0.1472 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.53
Light Indigo
#6D5ACF
ΔE00 3.94
Slate Blue
#6A5ACD
ΔE00 4.40
Bluish Purple
#703BE7
ΔE00 4.72
Purpleish Blue
#6140EF
ΔE00 5.34
Iris
#6258C4
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794FDA #B0DA4F
analogous
#4F6BDA #794FDA #BE4FDA
triadic
#794FDA #DA794F #4FDA79
tetradic
#794FDA #DA4F6B #B0DA4F #4FDABE
square
#794FDA #DA4F6B #B0DA4F #4FDABE
split-complementary
#794FDA #DABE4F #6BDA4F
monochromatic
#411E90 #5729C3 #794FDA #9F82E5 #C6B4EF
Accessibility & contrast
On white
5.32
#794FDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#794FDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794FDA
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794FDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794FDA | 1.00 | 5.32 | 3.94 | 5.32 |
| #FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#0068D7
Tritanopia (blue-blind)
#5D708D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #794fda; /* rgb */ color: rgb(121, 79, 218); /* oklch */ color: oklch(54.9% 0.202 292.4);
Tailwind
colors: {
custom: {
50: '#a783e6',
500: '#794fda',
950: '#000000',
},
}SCSS
$custom: #794fda; $custom-light: #a783e6; $custom-dark: #000000;
JSON
{
"hex": "#794fda",
"rgb": {
"r": 121,
"g": 79,
"b": 218
},
"hsl": {
"h": 258.129,
"s": 65.258,
"l": 58.235
},
"oklch": {
"l": 0.5491,
"c": 0.20184,
"h": 292.4
},
"luminance": 0.14719
}Semantic roles & 50–950 ramp
primary
#794FDA
secondary
#CDDEA7
accent
#E840B5
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84