#793EAA#793EAA

#793EAA is a mid, vivid violet. Relative luminance 0.104; OKLCH L 49.0% C 0.169 H 306.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#793EAA
RGBrgb(121, 62, 170)
HSLhsl(273, 47%, 45%)
HSVhsv(273, 64%, 67%)
CMYKcmyk(28.8%, 63.5%, 0%, 33.3%)
CIE-LABlab(38.57, 45.72, -48.12)
CIE-LCHlch(38.57, 66.38, 313.54°)
OKLaboklab(49.02% 0.0999 -0.1361)
OKLCHoklch(49.02% 0.169 306.3)
XYZxyz(16.8619, 10.4126, 39.1440)
Luminance0.1041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EAA #6FAA3E
analogous
#433EAA #793EAA #AA3EA5
triadic
#793EAA #AA793E #3EAA79
tetradic
#793EAA #AA433E #6FAA3E #3EA5AA
square
#793EAA #AA433E #6FAA3E #3EA5AA
split-complementary
#793EAA #A5AA3E #3EAA43
monochromatic
#391D50 #592E7D #793EAA #9760C5 #B58DD5

Accessibility & contrast

On white

6.81
#793EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#793EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793EAA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EAA#FFFFFF#000000##FFFFFF
##793EAA1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AD
Deuteranopia (green-blind)
#275BA8
Tritanopia (blue-blind)
#71546E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #793eaa;
/* rgb */ color: rgb(121, 62, 170);
/* oklch */ color: oklch(49.0% 0.169 306.3);
Tailwind
colors: {
  custom: {
    50: '#a377c4',
    500: '#793eaa',
    950: '#000000',
  },
}
SCSS
$custom: #793eaa;
$custom-light: #a377c4;
$custom-dark: #000000;
JSON
{
  "hex": "#793eaa",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 170
  },
  "hsl": {
    "h": 272.778,
    "s": 46.552,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49022,
    "c": 0.16885,
    "h": 306.3
  },
  "luminance": 0.10412
}

Semantic roles & 50–950 ramp

primary
#793EAA
secondary
#9FC084
accent
#D6528E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #793EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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