#793FCE#793FCE
#793FCE is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.8% C 0.208 H 297.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #793FCE |
|---|---|
| RGB | rgb(121, 63, 206) |
| HSL | hsl(264, 59%, 53%) |
| HSV | hsv(264, 69%, 81%) |
| CMYK | cmyk(41.3%, 69.4%, 0%, 19.2%) |
| CIE-LAB | lab(41.34, 54.17, -64.76) |
| CIE-LCH | lch(41.34, 84.43, 309.91°) |
| OKLab | oklab(51.82% 0.0947 -0.185) |
| OKLCH | oklch(51.82% 0.208 297.1) |
| XYZ | xyz(20.8003, 12.0758, 59.6155) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.61
Bluey Purple
#6241C7
ΔE00 3.92
Blueviolet
#8A2BE2
ΔE00 4.07
Burple
#6832E3
ΔE00 4.39
Purpley Blue
#5F34E7
ΔE00 5.31
Purpleish Blue
#6140EF
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793FCE #94CE3F
analogous
#3F4CCE #793FCE #C13FCE
triadic
#793FCE #CE793F #3FCE79
tetradic
#793FCE #CE3F4C #94CE3F #3FCEC1
square
#793FCE #CE3F4C #94CE3F #3FCEC1
split-complementary
#793FCE #CEC13F #4CCE3F
monochromatic
#411E75 #5C2AA6 #793FCE #9B70DA #BDA1E7
Accessibility & contrast
On white
6.15
#793FCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#793FCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793FCE
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793FCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793FCE | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#636282
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #793fce; /* rgb */ color: rgb(121, 63, 206); /* oklch */ color: oklch(51.8% 0.208 297.1);
Tailwind
colors: {
custom: {
50: '#a678de',
500: '#793fce',
950: '#000000',
},
}SCSS
$custom: #793fce; $custom-light: #a678de; $custom-dark: #000000;
JSON
{
"hex": "#793fce",
"rgb": {
"r": 121,
"g": 63,
"b": 206
},
"hsl": {
"h": 264.336,
"s": 59.336,
"l": 52.745
},
"oklch": {
"l": 0.51821,
"c": 0.20785,
"h": 297.1
},
"luminance": 0.12076
}Semantic roles & 50–950 ramp
primary
#793FCE
secondary
#BAD395
accent
#E345A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83