#793AB9#793AB9

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

Color values

HEX#793AB9
RGBrgb(121, 58, 185)
HSLhsl(270, 52%, 48%)
HSVhsv(270, 69%, 73%)
CMYKcmyk(34.6%, 68.6%, 0%, 27.5%)
CIE-LABlab(38.89, 51.36, -56.49)
CIE-LCHlch(38.89, 76.35, 312.27°)
OKLaboklab(49.58% 0.103 -0.1607)
OKLCHoklch(49.58% 0.191 302.7)
XYZxyz(18.1531, 10.5938, 46.9780)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793AB9 #7AB93A
analogous
#3A3AB9 #793AB9 #B83AB9
triadic
#793AB9 #B9793A #3AB979
tetradic
#793AB9 #B93A3A #7AB93A #3AB9B8
square
#793AB9 #B93A3A #7AB93A #3AB9B8
split-complementary
#793AB9 #B9B83A #3AB93A
monochromatic
#3C1D5C #5B2B8A #793AB9 #9862CE #B691DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##793AB9#FFFFFF#000000##FFFFFF
##793AB91.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)
#005ABD
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#6C5775
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #793ab9;
/* rgb */ color: rgb(121, 58, 185);
/* oklch */ color: oklch(49.6% 0.191 302.7);
Tailwind
colors: {
  custom: {
    50: '#a575cf',
    500: '#793ab9',
    950: '#000000',
  },
}
SCSS
$custom: #793ab9;
$custom-light: #a575cf;
$custom-dark: #000000;
JSON
{
  "hex": "#793ab9",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 269.764,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4958,
    "c": 0.1909,
    "h": 302.7
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#793AB9
secondary
#A8C787
accent
#DC4C94
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #793AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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