#793AAA#793AAA

#793AAA is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.174 H 306.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#793AAA
RGBrgb(121, 58, 170)
HSLhsl(274, 49%, 45%)
HSVhsv(274, 66%, 67%)
CMYKcmyk(28.8%, 65.9%, 0%, 33.3%)
CIE-LABlab(37.83, 47.75, -49.31)
CIE-LCHlch(37.83, 68.64, 314.08°)
OKLaboklab(48.49% 0.1047 -0.1396)
OKLCHoklch(48.49% 0.175 306.9)
XYZxyz(16.6524, 9.9935, 39.0741)
Luminance0.0999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793AAA #6BAA3A
analogous
#413AAA #793AAA #AA3AA3
triadic
#793AAA #AA793A #3AAA79
tetradic
#793AAA #AA413A #6BAA3A #3AA3AA
square
#793AAA #AA413A #6BAA3A #3AA3AA
split-complementary
#793AAA #A3AA3A #3AAA41
monochromatic
#381B4F #592A7C #793AAA #975AC7 #B488D6

Accessibility & contrast

On white

7.00
#793AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#793AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793AAA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793AAA#FFFFFF#000000##FFFFFF
##793AAA1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#2159A8
Tritanopia (blue-blind)
#71526D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #793aaa;
/* rgb */ color: rgb(121, 58, 170);
/* oklch */ color: oklch(48.5% 0.174 306.9);
Tailwind
colors: {
  custom: {
    50: '#a474c4',
    500: '#793aaa',
    950: '#000000',
  },
}
SCSS
$custom: #793aaa;
$custom-light: #a474c4;
$custom-dark: #000000;
JSON
{
  "hex": "#793aaa",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 170
  },
  "hsl": {
    "h": 273.75,
    "s": 49.123,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48486,
    "c": 0.1745,
    "h": 306.9
  },
  "luminance": 0.09993
}

Semantic roles & 50–950 ramp

primary
#793AAA
secondary
#9CC17F
accent
#D94F8B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #793AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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