#793CA6#793CA6

#793CA6 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.167 H 307.8°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#793CA6
RGBrgb(121, 60, 166)
HSLhsl(275, 47%, 44%)
HSVhsv(275, 64%, 65%)
CMYKcmyk(27.1%, 63.9%, 0%, 34.9%)
CIE-LABlab(37.93, 45.79, -46.76)
CIE-LCHlch(37.93, 65.45, 314.40°)
OKLaboklab(48.47% 0.1026 -0.1321)
OKLCHoklch(48.47% 0.167 307.8)
XYZxyz(16.3825, 10.0501, 37.1458)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CA6 #69A63C
analogous
#443CA6 #793CA6 #A63C9E
triadic
#793CA6 #A6793C #3CA679
tetradic
#793CA6 #A6443C #69A63C #3C9EA6
square
#793CA6 #A6443C #69A63C #3C9EA6
split-complementary
#793CA6 #9EA63C #3CA644
monochromatic
#371C4C #582C79 #793CA6 #975BC4 #B488D4

Accessibility & contrast

On white

6.98
#793CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#793CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CA6
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CA6#FFFFFF#000000##FFFFFF
##793CA61.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#295AA4
Tritanopia (blue-blind)
#72526B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #793ca6;
/* rgb */ color: rgb(121, 60, 166);
/* oklch */ color: oklch(48.5% 0.167 307.8);
Tailwind
colors: {
  custom: {
    50: '#a375c1',
    500: '#793ca6',
    950: '#000000',
  },
}
SCSS
$custom: #793ca6;
$custom-light: #a375c1;
$custom-dark: #000000;
JSON
{
  "hex": "#793ca6",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 166
  },
  "hsl": {
    "h": 274.528,
    "s": 46.903,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48474,
    "c": 0.16725,
    "h": 307.8
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#793CA6
secondary
#9ABE7F
accent
#D7518A
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #793CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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