#793CD0#793CD0

#793CD0 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.214 H 297.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#793CD0
RGBrgb(121, 60, 208)
HSLhsl(265, 61%, 53%)
HSVhsv(265, 71%, 82%)
CMYKcmyk(41.8%, 71.2%, 0%, 18.4%)
CIE-LABlab(40.98, 56.12, -66.50)
CIE-LCHlch(40.98, 87.02, 310.16°)
OKLaboklab(51.62% 0.0972 -0.1901)
OKLCHoklch(51.62% 0.214 297.1)
XYZxyz(20.8832, 11.8503, 60.8494)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CD0 #93D03C
analogous
#3C49D0 #793CD0 #C33CD0
triadic
#793CD0 #D0793C #3CD079
tetradic
#793CD0 #D03C49 #93D03C #3CD0C3
square
#793CD0 #D03C49 #93D03C #3CD0C3
split-complementary
#793CD0 #D0C33C #49D03C
monochromatic
#411C75 #5C28A7 #793CD0 #9B6DDC #BD9FE8

Accessibility & contrast

On white

6.23
#793CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#793CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CD0
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CD0#FFFFFF#000000##FFFFFF
##793CD01.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#636182
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #793cd0;
/* rgb */ color: rgb(121, 60, 208);
/* oklch */ color: oklch(51.6% 0.214 297.1);
Tailwind
colors: {
  custom: {
    50: '#a777df',
    500: '#793cd0',
    950: '#000000',
  },
}
SCSS
$custom: #793cd0;
$custom-light: #a777df;
$custom-dark: #000000;
JSON
{
  "hex": "#793cd0",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 208
  },
  "hsl": {
    "h": 264.73,
    "s": 61.157,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51615,
    "c": 0.21353,
    "h": 297.1
  },
  "luminance": 0.11851
}

Semantic roles & 50–950 ramp

primary
#793CD0
secondary
#BAD494
accent
#E444A2
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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