#793CA3#793CA3

#793CA3 is a mid, vivid violet. Relative luminance 0.099; OKLCH L 48.3% C 0.164 H 308.8°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#793CA3
RGBrgb(121, 60, 163)
HSLhsl(276, 46%, 44%)
HSVhsv(276, 63%, 64%)
CMYKcmyk(25.8%, 63.2%, 0%, 36.1%)
CIE-LABlab(37.74, 45.09, -45.28)
CIE-LCHlch(37.74, 63.90, 314.88°)
OKLaboklab(48.27% 0.1027 -0.1278)
OKLCHoklch(48.27% 0.164 308.8)
XYZxyz(16.1106, 9.9413, 35.7134)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CA3 #66A33C
analogous
#453CA3 #793CA3 #A33C99
triadic
#793CA3 #A3793C #3CA379
tetradic
#793CA3 #A3453C #66A33C #3C99A3
square
#793CA3 #A3453C #66A33C #3C99A3
split-complementary
#793CA3 #99A33C #3CA345
monochromatic
#371B4A #582C76 #793CA3 #985AC2 #B487D3

Accessibility & contrast

On white

7.03
#793CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#793CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793CA3
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CA3#FFFFFF#000000##FFFFFF
##793CA31.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0556A6
Deuteranopia (green-blind)
#2C5AA1
Tritanopia (blue-blind)
#73506A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #793ca3;
/* rgb */ color: rgb(121, 60, 163);
/* oklch */ color: oklch(48.3% 0.164 308.8);
Tailwind
colors: {
  custom: {
    50: '#a375bf',
    500: '#793ca3',
    950: '#000000',
  },
}
SCSS
$custom: #793ca3;
$custom-light: #a375bf;
$custom-dark: #000000;
JSON
{
  "hex": "#793ca3",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 275.534,
    "s": 46.188,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4827,
    "c": 0.16392,
    "h": 308.8
  },
  "luminance": 0.09941
}

Semantic roles & 50–950 ramp

primary
#793CA3
secondary
#98BD7E
accent
#D65288
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #793CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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