#793EA9#793EA9

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

Color values

HEX#793EA9
RGBrgb(121, 62, 169)
HSLhsl(273, 46%, 45%)
HSVhsv(273, 63%, 66%)
CMYKcmyk(28.4%, 63.3%, 0%, 33.7%)
CIE-LABlab(38.51, 45.48, -47.63)
CIE-LCHlch(38.51, 65.86, 313.68°)
OKLaboklab(48.95% 0.1 -0.1347)
OKLCHoklch(48.95% 0.168 306.6)
XYZxyz(16.7677, 10.3749, 38.6476)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EA9 #6EA93E
analogous
#433EA9 #793EA9 #A93EA3
triadic
#793EA9 #A9793E #3EA979
tetradic
#793EA9 #A9433E #6EA93E #3EA3A9
square
#793EA9 #A9433E #6EA93E #3EA3A9
split-complementary
#793EA9 #A3A93E #3EA943
monochromatic
#391D4F #592E7C #793EA9 #9760C5 #B48CD5

Accessibility & contrast

On white

6.83
#793EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #793EA9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EA9#FFFFFF#000000##FFFFFF
##793EA91.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AC
Deuteranopia (green-blind)
#285BA7
Tritanopia (blue-blind)
#71546E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #793ea9;
/* rgb */ color: rgb(121, 62, 169);
/* oklch */ color: oklch(49.0% 0.168 306.6);
Tailwind
colors: {
  custom: {
    50: '#a377c3',
    500: '#793ea9',
    950: '#000000',
  },
}
SCSS
$custom: #793ea9;
$custom-light: #a377c3;
$custom-dark: #000000;
JSON
{
  "hex": "#793ea9",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 273.084,
    "s": 46.32,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48954,
    "c": 0.16772,
    "h": 306.6
  },
  "luminance": 0.10375
}

Semantic roles & 50–950 ramp

primary
#793EA9
secondary
#9EC083
accent
#D6528D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #793EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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