#793CD2#793CD2

#793CD2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.8% C 0.216 H 296.7°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#793CD2
RGBrgb(121, 60, 210)
HSLhsl(264, 63%, 53%)
HSVhsv(264, 71%, 82%)
CMYKcmyk(42.4%, 71.4%, 0%, 17.6%)
CIE-LABlab(41.14, 56.62, -67.40)
CIE-LCHlch(41.14, 88.03, 310.04°)
OKLaboklab(51.78% 0.0968 -0.1928)
OKLCHoklch(51.78% 0.216 296.7)
XYZxyz(21.1308, 11.9494, 62.1534)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CD2 #95D23C
analogous
#3C4AD2 #793CD2 #C43CD2
triadic
#793CD2 #D2793C #3CD279
tetradic
#793CD2 #D23C4A #95D23C #3CD2C4
square
#793CD2 #D23C4A #95D23C #3CD2C4
split-complementary
#793CD2 #D2C43C #4AD23C
monochromatic
#411C78 #5C27AA #793CD2 #9B6EDD #BD9FE9

Accessibility & contrast

On white

6.19
#793CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#793CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CD2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CD2#FFFFFF#000000##FFFFFF
##793CD21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#005FCF
Tritanopia (blue-blind)
#626283
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #793cd2;
/* rgb */ color: rgb(121, 60, 210);
/* oklch */ color: oklch(51.8% 0.216 296.7);
Tailwind
colors: {
  custom: {
    50: '#a777e1',
    500: '#793cd2',
    950: '#000000',
  },
}
SCSS
$custom: #793cd2;
$custom-light: #a777e1;
$custom-dark: #000000;
JSON
{
  "hex": "#793cd2",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 210
  },
  "hsl": {
    "h": 264.4,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51776,
    "c": 0.2157,
    "h": 296.7
  },
  "luminance": 0.1195
}

Semantic roles & 50–950 ramp

primary
#793CD2
secondary
#BBD594
accent
#E642A3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793CD2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#793CD2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva