#793FCA#793FCA
#793FCA is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.203 H 297.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #793FCA |
|---|---|
| RGB | rgb(121, 63, 202) |
| HSL | hsl(265, 57%, 52%) |
| HSV | hsv(265, 69%, 79%) |
| CMYK | cmyk(40.1%, 68.8%, 0%, 20.8%) |
| CIE-LAB | lab(41.03, 53.15, -62.94) |
| CIE-LCH | lch(41.03, 82.38, 310.18°) |
| OKLab | oklab(51.51% 0.0953 -0.1797) |
| OKLCH | oklch(51.51% 0.203 297.9) |
| XYZ | xyz(20.3206, 11.8839, 57.0889) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.92
Bluish Purple
#703BE7
ΔE00 4.14
Blueviolet
#8A2BE2
ΔE00 4.36
Burple
#6832E3
ΔE00 4.75
Darkorchid
#9932CC
ΔE00 5.68
Purpley Blue
#5F34E7
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793FCA #90CA3F
analogous
#3F4BCA #793FCA #BF3FCA
triadic
#793FCA #CA793F #3FCA79
tetradic
#793FCA #CA3F4B #90CA3F #3FCABF
square
#793FCA #CA3F4B #90CA3F #3FCABF
split-complementary
#793FCA #CABF3F #4BCA3F
monochromatic
#411F70 #5C2CA0 #793FCA #9A6FD7 #BC9FE4
Accessibility & contrast
On white
6.22
#793FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#793FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793FCA
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793FCA | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#656180
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #793fca; /* rgb */ color: rgb(121, 63, 202); /* oklch */ color: oklch(51.5% 0.203 297.9);
Tailwind
colors: {
custom: {
50: '#a678db',
500: '#793fca',
950: '#000000',
},
}SCSS
$custom: #793fca; $custom-light: #a678db; $custom-dark: #000000;
JSON
{
"hex": "#793fca",
"rgb": {
"r": 121,
"g": 63,
"b": 202
},
"hsl": {
"h": 265.036,
"s": 56.735,
"l": 51.961
},
"oklch": {
"l": 0.51508,
"c": 0.20341,
"h": 297.9
},
"luminance": 0.11884
}Semantic roles & 50–950 ramp
primary
#793FCA
secondary
#B7D194
accent
#E048A0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83