#793FCB#793FCB
#793FCB is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.205 H 297.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #793FCB |
|---|---|
| RGB | rgb(121, 63, 203) |
| HSL | hsl(265, 57%, 52%) |
| HSV | hsv(265, 69%, 80%) |
| CMYK | cmyk(40.4%, 69%, 0%, 20.4%) |
| CIE-LAB | lab(41.11, 53.41, -63.40) |
| CIE-LCH | lch(41.11, 82.90, 310.11°) |
| OKLab | oklab(51.59% 0.0952 -0.181) |
| OKLCH | oklch(51.59% 0.205 297.7) |
| XYZ | xyz(20.4394, 11.9314, 57.7145) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.91
Bluish Purple
#703BE7
ΔE00 4.01
Blueviolet
#8A2BE2
ΔE00 4.28
Burple
#6832E3
ΔE00 4.66
Purpley Blue
#5F34E7
ΔE00 5.58
Darkorchid
#9932CC
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793FCB #91CB3F
analogous
#3F4BCB #793FCB #BF3FCB
triadic
#793FCB #CB793F #3FCB79
tetradic
#793FCB #CB3F4B #91CB3F #3FCBBF
square
#793FCB #CB3F4B #91CB3F #3FCBBF
split-complementary
#793FCB #CBBF3F #4BCB3F
monochromatic
#411F71 #5C2CA1 #793FCB #9B6FD8 #BC9FE5
Accessibility & contrast
On white
6.20
#793FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#793FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793FCB
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793FCB | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#656180
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #793fcb; /* rgb */ color: rgb(121, 63, 203); /* oklch */ color: oklch(51.6% 0.205 297.7);
Tailwind
colors: {
custom: {
50: '#a678dc',
500: '#793fcb',
950: '#000000',
},
}SCSS
$custom: #793fcb; $custom-light: #a678dc; $custom-dark: #000000;
JSON
{
"hex": "#793fcb",
"rgb": {
"r": 121,
"g": 63,
"b": 203
},
"hsl": {
"h": 264.857,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.51586,
"c": 0.20452,
"h": 297.7
},
"luminance": 0.11932
}Semantic roles & 50–950 ramp
primary
#793FCB
secondary
#B8D194
accent
#E147A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83