#793EAE#793EAE

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

Color values

HEX#793EAE
RGBrgb(121, 62, 174)
HSLhsl(272, 47%, 46%)
HSVhsv(272, 64%, 68%)
CMYKcmyk(30.5%, 64.4%, 0%, 31.8%)
CIE-LABlab(38.84, 46.69, -50.07)
CIE-LCHlch(38.84, 68.46, 313.00°)
OKLaboklab(49.3% 0.0997 -0.1418)
OKLCHoklch(49.3% 0.173 305.1)
XYZxyz(17.2461, 10.5663, 41.1671)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793EAE #73AE3E
analogous
#413EAE #793EAE #AE3EAB
triadic
#793EAE #AE793E #3EAE79
tetradic
#793EAE #AE413E #73AE3E #3EABAE
square
#793EAE #AE413E #73AE3E #3EABAE
split-complementary
#793EAE #ABAE3E #3EAE41
monochromatic
#3A1E54 #5A2E81 #793EAE #9762C7 #B58FD7

Accessibility & contrast

On white

6.75
#793EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#793EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793EAE
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793EAE#FFFFFF#000000##FFFFFF
##793EAE1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#215CAC
Tritanopia (blue-blind)
#705670
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #793eae;
/* rgb */ color: rgb(121, 62, 174);
/* oklch */ color: oklch(49.3% 0.173 305.1);
Tailwind
colors: {
  custom: {
    50: '#a477c7',
    500: '#793eae',
    950: '#000000',
  },
}
SCSS
$custom: #793eae;
$custom-light: #a477c7;
$custom-dark: #000000;
JSON
{
  "hex": "#793eae",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 271.607,
    "s": 47.458,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49301,
    "c": 0.17335,
    "h": 305.1
  },
  "luminance": 0.10566
}

Semantic roles & 50–950 ramp

primary
#793EAE
secondary
#A2C286
accent
#D75190
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #793EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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