#793BC7#793BC7

#793BC7 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.8% C 0.205 H 299.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#793BC7
RGBrgb(121, 59, 199)
HSLhsl(267, 56%, 51%)
HSVhsv(267, 70%, 78%)
CMYKcmyk(39.2%, 70.4%, 0%, 22%)
CIE-LABlab(40.11, 54.33, -62.70)
CIE-LCHlch(40.11, 82.97, 310.91°)
OKLaboklab(50.78% 0.0998 -0.179)
OKLCHoklch(50.78% 0.205 299.1)
XYZxyz(19.7553, 11.3162, 55.1652)
Luminance0.1132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793BC7 #89C73B
analogous
#3B43C7 #793BC7 #BF3BC7
triadic
#793BC7 #C7793B #3BC779
tetradic
#793BC7 #C73B43 #89C73B #3BC7BF
square
#793BC7 #C73B43 #89C73B #3BC7BF
split-complementary
#793BC7 #C7BF3B #43C73B
monochromatic
#3F1E69 #5C2C99 #793BC7 #9A6BD5 #BA9AE2

Accessibility & contrast

On white

6.44
#793BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#793BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793BC7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793BC7#FFFFFF#000000##FFFFFF
##793BC71.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECB
Deuteranopia (green-blind)
#005DC4
Tritanopia (blue-blind)
#675D7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #793bc7;
/* rgb */ color: rgb(121, 59, 199);
/* oklch */ color: oklch(50.8% 0.205 299.1);
Tailwind
colors: {
  custom: {
    50: '#a676d9',
    500: '#793bc7',
    950: '#000000',
  },
}
SCSS
$custom: #793bc7;
$custom-light: #a676d9;
$custom-dark: #000000;
JSON
{
  "hex": "#793bc7",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 199
  },
  "hsl": {
    "h": 266.571,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50779,
    "c": 0.20492,
    "h": 299.1
  },
  "luminance": 0.11316
}

Semantic roles & 50–950 ramp

primary
#793BC7
secondary
#B2CE90
accent
#DF499C
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #793BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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