#793CCD#793CCD
#793CCD is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.4% C 0.210 H 297.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #793CCD |
|---|---|
| RGB | rgb(121, 60, 205) |
| HSL | hsl(265, 59%, 52%) |
| HSV | hsv(265, 71%, 80%) |
| CMYK | cmyk(41%, 70.7%, 0%, 19.6%) |
| CIE-LAB | lab(40.74, 55.36, -65.15) |
| CIE-LCH | lch(40.74, 85.50, 310.36°) |
| OKLab | oklab(51.37% 0.0978 -0.1862) |
| OKLCH | oklch(51.37% 0.21 297.7) |
| XYZ | xyz(20.5176, 11.7041, 58.9239) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.74
Blueviolet
#8A2BE2
ΔE00 3.87
Bluey Purple
#6241C7
ΔE00 3.96
Burple
#6832E3
ΔE00 4.20
Purpley Blue
#5F34E7
ΔE00 5.20
Darkorchid
#9932CC
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793CCD #90CD3C
analogous
#3C48CD #793CCD #C13CCD
triadic
#793CCD #CD793C #3CCD79
tetradic
#793CCD #CD3C48 #90CD3C #3CCDC1
square
#793CCD #CD3C48 #90CD3C #3CCDC1
split-complementary
#793CCD #CDC13C #48CD3C
monochromatic
#411D71 #5C2AA2 #793CCD #9A6DD9 #BC9DE6
Accessibility & contrast
On white
6.29
#793CCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#793CCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793CCD
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793CCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793CCD | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#646080
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #793ccd; /* rgb */ color: rgb(121, 60, 205); /* oklch */ color: oklch(51.4% 0.210 297.7);
Tailwind
colors: {
custom: {
50: '#a677dd',
500: '#793ccd',
950: '#000000',
},
}SCSS
$custom: #793ccd; $custom-light: #a677dd; $custom-dark: #000000;
JSON
{
"hex": "#793ccd",
"rgb": {
"r": 121,
"g": 60,
"b": 205
},
"hsl": {
"h": 265.241,
"s": 59.184,
"l": 51.961
},
"oklch": {
"l": 0.51374,
"c": 0.21027,
"h": 297.7
},
"luminance": 0.11704
}Semantic roles & 50–950 ramp
primary
#793CCD
secondary
#B7D293
accent
#E245A0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83