#793CB1#793CB1

#793CB1 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.2% C 0.179 H 304.5°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#793CB1
RGBrgb(121, 60, 177)
HSLhsl(271, 49%, 46%)
HSVhsv(271, 66%, 69%)
CMYKcmyk(31.6%, 66.1%, 0%, 30.6%)
CIE-LABlab(38.67, 48.43, -52.11)
CIE-LCHlch(38.67, 71.14, 312.90°)
OKLaboklab(49.25% 0.1017 -0.1478)
OKLCHoklch(49.25% 0.179 304.5)
XYZxyz(17.4351, 10.4711, 42.6891)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CB1 #74B13C
analogous
#3F3CB1 #793CB1 #B13CAF
triadic
#793CB1 #B1793C #3CB179
tetradic
#793CB1 #B13F3C #74B13C #3CAFB1
square
#793CB1 #B13F3C #74B13C #3CAFB1
split-complementary
#793CB1 #AFB13C #3CB13F
monochromatic
#3B1D56 #5A2D83 #793CB1 #9761C9 #B58FD9

Accessibility & contrast

On white

6.79
#793CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#793CB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CB1
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CB1#FFFFFF#000000##FFFFFF
##793CB11.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#185BAE
Tritanopia (blue-blind)
#6F5671
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #793cb1;
/* rgb */ color: rgb(121, 60, 177);
/* oklch */ color: oklch(49.2% 0.179 304.5);
Tailwind
colors: {
  custom: {
    50: '#a476c9',
    500: '#793cb1',
    950: '#000000',
  },
}
SCSS
$custom: #793cb1;
$custom-light: #a476c9;
$custom-dark: #000000;
JSON
{
  "hex": "#793cb1",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 271.282,
    "s": 49.367,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49247,
    "c": 0.17947,
    "h": 304.5
  },
  "luminance": 0.10471
}

Semantic roles & 50–950 ramp

primary
#793CB1
secondary
#A3C485
accent
#D94F91
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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