#793FC8#793FC8
#793FC8 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.4% C 0.201 H 298.4°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #793FC8 |
|---|---|
| RGB | rgb(121, 63, 200) |
| HSL | hsl(265, 55%, 52%) |
| HSV | hsv(265, 69%, 78%) |
| CMYK | cmyk(39.5%, 68.5%, 0%, 21.6%) |
| CIE-LAB | lab(40.88, 52.64, -62.03) |
| CIE-LCH | lch(40.88, 81.36, 310.32°) |
| OKLab | oklab(51.35% 0.0956 -0.177) |
| OKLCH | oklch(51.35% 0.201 298.4) |
| XYZ | xyz(20.0853, 11.7898, 55.8498) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.95
Bluish Purple
#703BE7
ΔE00 4.42
Blueviolet
#8A2BE2
ΔE00 4.53
Burple
#6832E3
ΔE00 4.95
Darkorchid
#9932CC
ΔE00 5.65
Purpley Blue
#5F34E7
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793FC8 #8EC83F
analogous
#3F4AC8 #793FC8 #BD3FC8
triadic
#793FC8 #C8793F #3FC879
tetradic
#793FC8 #C83F4A #8EC83F #3FC8BD
square
#793FC8 #C83F4A #8EC83F #3FC8BD
split-complementary
#793FC8 #C8BD3F #4AC83F
monochromatic
#401F6D #5C2D9D #793FC8 #9A6FD6 #BB9EE3
Accessibility & contrast
On white
6.25
#793FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#793FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793FC8
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793FC8 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#005FC5
Tritanopia (blue-blind)
#66607F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #793fc8; /* rgb */ color: rgb(121, 63, 200); /* oklch */ color: oklch(51.4% 0.201 298.4);
Tailwind
colors: {
custom: {
50: '#a678da',
500: '#793fc8',
950: '#000000',
},
}SCSS
$custom: #793fc8; $custom-light: #a678da; $custom-dark: #000000;
JSON
{
"hex": "#793fc8",
"rgb": {
"r": 121,
"g": 63,
"b": 200
},
"hsl": {
"h": 265.401,
"s": 55.466,
"l": 51.569
},
"oklch": {
"l": 0.51353,
"c": 0.20118,
"h": 298.4
},
"luminance": 0.1179
}Semantic roles & 50–950 ramp
primary
#793FC8
secondary
#B6D093
accent
#DF499F
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83