#793CC7#793CC7

#793CC7 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.9% C 0.204 H 299.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#793CC7
RGBrgb(121, 60, 199)
HSLhsl(266, 55%, 51%)
HSVhsv(266, 70%, 78%)
CMYKcmyk(39.2%, 69.8%, 0%, 22%)
CIE-LABlab(40.28, 53.86, -62.42)
CIE-LCHlch(40.28, 82.45, 310.79°)
OKLaboklab(50.9% 0.0988 -0.1781)
OKLCHoklch(50.9% 0.204 299)
XYZxyz(19.8072, 11.4199, 55.1825)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CC7 #8AC73C
analogous
#3C44C7 #793CC7 #BE3CC7
triadic
#793CC7 #C7793C #3CC779
tetradic
#793CC7 #C73C44 #8AC73C #3CC7BE
square
#793CC7 #C73C44 #8AC73C #3CC7BE
split-complementary
#793CC7 #C7BE3C #44C73C
monochromatic
#401E6A #5C2C9A #793CC7 #9A6CD5 #BA9BE2

Accessibility & contrast

On white

6.39
#793CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#793CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CC7
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CC7#FFFFFF#000000##FFFFFF
##793CC71.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#675E7D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #793cc7;
/* rgb */ color: rgb(121, 60, 199);
/* oklch */ color: oklch(50.9% 0.204 299.0);
Tailwind
colors: {
  custom: {
    50: '#a676d9',
    500: '#793cc7',
    950: '#000000',
  },
}
SCSS
$custom: #793cc7;
$custom-light: #a676d9;
$custom-dark: #000000;
JSON
{
  "hex": "#793cc7",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 266.331,
    "s": 55.378,
    "l": 50.784
  },
  "oklch": {
    "l": 0.509,
    "c": 0.20372,
    "h": 299
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

primary
#793CC7
secondary
#B3CE91
accent
#DF499D
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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