#794FCB#794FCB
#794FCB is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.184 H 295.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #794FCB |
|---|---|
| RGB | rgb(121, 79, 203) |
| HSL | hsl(260, 54%, 55%) |
| HSV | hsv(260, 61%, 80%) |
| CMYK | cmyk(40.4%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(44.19, 45.02, -58.41) |
| CIE-LCH | lch(44.19, 73.74, 307.63°) |
| OKLab | oklab(53.81% 0.078 -0.1664) |
| OKLCH | oklch(53.81% 0.184 295.1) |
| XYZ | xyz(21.4578, 13.9682, 58.0539) |
| Luminance | 0.1397 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.07
Slate Blue
#6A5ACD
ΔE00 4.41
Purpley
#8756E4
ΔE00 4.84
Iris
#6258C4
ΔE00 5.30
Bluey Purple
#6241C7
ΔE00 5.38
Bluish Purple
#703BE7
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#794FCB #A1CB4F
analogous
#4F63CB #794FCB #B74FCB
triadic
#794FCB #CB794F #4FCB79
tetradic
#794FCB #CB4F63 #A1CB4F #4FCBB7
square
#794FCB #CB4F63 #A1CB4F #4FCBB7
split-complementary
#794FCB #CBB74F #63CB4F
monochromatic
#42247B #5B32AA #794FCB #9D7ED9 #C1ADE7
Accessibility & contrast
On white
5.54
#794FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#794FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #794FCB
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##794FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##794FCB | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0567C8
Tritanopia (blue-blind)
#646B85
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #794fcb; /* rgb */ color: rgb(121, 79, 203); /* oklch */ color: oklch(53.8% 0.184 295.1);
Tailwind
colors: {
custom: {
50: '#a582dc',
500: '#794fcb',
950: '#000000',
},
}SCSS
$custom: #794fcb; $custom-light: #a582dc; $custom-dark: #000000;
JSON
{
"hex": "#794fcb",
"rgb": {
"r": 121,
"g": 79,
"b": 203
},
"hsl": {
"h": 260.323,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.53808,
"c": 0.18375,
"h": 295.1
},
"luminance": 0.13969
}Semantic roles & 50–950 ramp
primary
#794FCB
secondary
#C3D5A1
accent
#DE4AAC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83