#793FAC#793FAC

#793FAC is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.170 H 305.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#793FAC
RGBrgb(121, 63, 172)
HSLhsl(272, 46%, 46%)
HSVhsv(272, 63%, 67%)
CMYKcmyk(29.7%, 63.4%, 0%, 32.5%)
CIE-LABlab(38.90, 45.68, -48.79)
CIE-LCHlch(38.90, 66.84, 313.12°)
OKLaboklab(49.3% 0.0986 -0.1381)
OKLCHoklch(49.3% 0.17 305.5)
XYZxyz(17.1074, 10.5986, 40.1662)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793FAC #72AC3F
analogous
#433FAC #793FAC #AC3FA8
triadic
#793FAC #AC793F #3FAC79
tetradic
#793FAC #AC433F #72AC3F #3FA8AC
square
#793FAC #AC433F #72AC3F #3FA8AC
split-complementary
#793FAC #A8AC3F #3FAC43
monochromatic
#3A1E52 #592F7F #793FAC #9763C6 #B58FD6

Accessibility & contrast

On white

6.73
#793FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#793FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793FAC
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793FAC#FFFFFF#000000##FFFFFF
##793FAC1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AAF
Deuteranopia (green-blind)
#265CAA
Tritanopia (blue-blind)
#705670
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793fac;
/* rgb */ color: rgb(121, 63, 172);
/* oklch */ color: oklch(49.3% 0.170 305.5);
Tailwind
colors: {
  custom: {
    50: '#a377c5',
    500: '#793fac',
    950: '#000000',
  },
}
SCSS
$custom: #793fac;
$custom-light: #a377c5;
$custom-dark: #000000;
JSON
{
  "hex": "#793fac",
  "rgb": {
    "r": 121,
    "g": 63,
    "b": 172
  },
  "hsl": {
    "h": 271.927,
    "s": 46.383,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49298,
    "c": 0.16967,
    "h": 305.5
  },
  "luminance": 0.10599
}

Semantic roles & 50–950 ramp

primary
#793FAC
secondary
#A1C186
accent
#D65290
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #793FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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