#793CAA#793CAA

#793CAA is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.8% C 0.172 H 306.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#793CAA
RGBrgb(121, 60, 170)
HSLhsl(273, 48%, 45%)
HSVhsv(273, 65%, 67%)
CMYKcmyk(28.8%, 64.7%, 0%, 33.3%)
CIE-LABlab(38.20, 46.74, -48.72)
CIE-LCHlch(38.20, 67.52, 313.81°)
OKLaboklab(48.75% 0.1023 -0.1379)
OKLCHoklch(48.75% 0.172 306.6)
XYZxyz(16.7552, 10.1991, 39.1084)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CAA #6DAA3C
analogous
#423CAA #793CAA #AA3CA4
triadic
#793CAA #AA793C #3CAA79
tetradic
#793CAA #AA423C #6DAA3C #3CA4AA
square
#793CAA #AA423C #6DAA3C #3CA4AA
split-complementary
#793CAA #A4AA3C #3CAA42
monochromatic
#391C50 #592C7D #793CAA #975DC6 #B48BD6

Accessibility & contrast

On white

6.91
#793CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#793CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CAA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CAA#FFFFFF#000000##FFFFFF
##793CAA1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AD
Deuteranopia (green-blind)
#245AA8
Tritanopia (blue-blind)
#71536D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #793caa;
/* rgb */ color: rgb(121, 60, 170);
/* oklch */ color: oklch(48.8% 0.172 306.6);
Tailwind
colors: {
  custom: {
    50: '#a376c4',
    500: '#793caa',
    950: '#000000',
  },
}
SCSS
$custom: #793caa;
$custom-light: #a376c4;
$custom-dark: #000000;
JSON
{
  "hex": "#793caa",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 170
  },
  "hsl": {
    "h": 273.273,
    "s": 47.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48751,
    "c": 0.1717,
    "h": 306.6
  },
  "luminance": 0.10199
}

Semantic roles & 50–950 ramp

primary
#793CAA
secondary
#9DC081
accent
#D7508D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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