#793CDC#793CDC
#793CDC is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.6% C 0.226 H 294.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #793CDC |
|---|---|
| RGB | rgb(121, 60, 220) |
| HSL | hsl(263, 70%, 55%) |
| HSV | hsv(263, 73%, 86%) |
| CMYK | cmyk(45%, 72.7%, 0%, 13.7%) |
| CIE-LAB | lab(41.94, 59.16, -71.82) |
| CIE-LCH | lch(41.94, 93.05, 309.48°) |
| OKLab | oklab(52.6% 0.0947 -0.2058) |
| OKLCH | oklch(52.6% 0.226 294.7) |
| XYZ | xyz(22.4158, 12.4634, 68.9209) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 1.95
Blueviolet
#8A2BE2
ΔE00 3.21
Burple
#6832E3
ΔE00 3.31
Purpleish Blue
#6140EF
ΔE00 4.17
Purpley Blue
#5F34E7
ΔE00 4.22
Bluey Purple
#6241C7
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#793CDC #9FDC3C
analogous
#3C4FDC #793CDC #C93CDC
triadic
#793CDC #DC793C #3CDC79
tetradic
#793CDC #DC3C4F #9FDC3C #3CDCC9
square
#793CDC #DC3C4F #9FDC3C #3CDCC9
split-complementary
#793CDC #DCC93C #4FDC3C
monochromatic
#421886 #5B21BA #793CDC #9D70E5 #C0A4EF
Accessibility & contrast
On white
6.01
#793CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#793CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #793CDC
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##793CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##793CDC | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064E1
Deuteranopia (green-blind)
#0060D9
Tritanopia (blue-blind)
#5D6689
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #793cdc; /* rgb */ color: rgb(121, 60, 220); /* oklch */ color: oklch(52.6% 0.226 294.7);
Tailwind
colors: {
custom: {
50: '#a877e8',
500: '#793cdc',
950: '#000000',
},
}SCSS
$custom: #793cdc; $custom-light: #a877e8; $custom-dark: #000000;
JSON
{
"hex": "#793cdc",
"rgb": {
"r": 121,
"g": 60,
"b": 220
},
"hsl": {
"h": 262.875,
"s": 69.565,
"l": 54.902
},
"oklch": {
"l": 0.52598,
"c": 0.22649,
"h": 294.7
},
"luminance": 0.12464
}Semantic roles & 50–950 ramp
primary
#793CDC
secondary
#C2DC98
accent
#EC3BA9
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110916
muted
#807B84