#793CE3#793CE3
#793CE3 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.2% C 0.234 H 293.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #793CE3 |
|---|---|
| RGB | rgb(121, 60, 227) |
| HSL | hsl(262, 75%, 56%) |
| HSV | hsv(262, 74%, 89%) |
| CMYK | cmyk(46.7%, 73.6%, 0%, 11%) |
| CIE-LAB | lab(42.52, 60.95, -74.86) |
| CIE-LCH | lch(42.52, 96.53, 309.15°) |
| OKLab | oklab(53.19% 0.093 -0.2147) |
| OKLCH | oklch(53.19% 0.234 293.4) |
| XYZ | xyz(23.3623, 12.8420, 73.9060) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 1.45
Blueviolet
#8A2BE2
ΔE00 3.30
Burple
#6832E3
ΔE00 3.33
Purpleish Blue
#6140EF
ΔE00 3.66
Purpley Blue
#5F34E7
ΔE00 4.11
Bluey Purple
#6241C7
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793CE3 #A6E33C
analogous
#3C53E3 #793CE3 #CD3CE3
triadic
#793CE3 #E3793C #3CE379
tetradic
#793CE3 #E33C53 #A6E33C #3CE3CD
square
#793CE3 #E33C53 #A6E33C #3CE3CD
split-complementary
#793CE3 #E3CD3C #53E33C
monochromatic
#421590 #5A1CC5 #793CE3 #9E72EB #C3A7F2
Accessibility & contrast
On white
5.88
#793CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#793CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793CE3
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793CE3 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066E8
Deuteranopia (green-blind)
#0061E0
Tritanopia (blue-blind)
#59698D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #793ce3; /* rgb */ color: rgb(121, 60, 227); /* oklch */ color: oklch(53.2% 0.234 293.4);
Tailwind
colors: {
custom: {
50: '#a978ed',
500: '#793ce3',
950: '#000000',
},
}SCSS
$custom: #793ce3; $custom-light: #a978ed; $custom-dark: #000000;
JSON
{
"hex": "#793ce3",
"rgb": {
"r": 121,
"g": 60,
"b": 227
},
"hsl": {
"h": 261.916,
"s": 74.888,
"l": 56.275
},
"oklch": {
"l": 0.53186,
"c": 0.23399,
"h": 293.4
},
"luminance": 0.12843
}Semantic roles & 50–950 ramp
primary
#793CE3
secondary
#C7E09B
accent
#F236AD
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84