#793AAE#793AAE

#793AAE is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.8% C 0.179 H 305.7°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#793AAE
RGBrgb(121, 58, 174)
HSLhsl(273, 50%, 45%)
HSVhsv(273, 67%, 68%)
CMYKcmyk(30.5%, 66.7%, 0%, 31.8%)
CIE-LABlab(38.11, 48.70, -51.25)
CIE-LCHlch(38.11, 70.70, 313.54°)
OKLaboklab(48.77% 0.1043 -0.1453)
OKLCHoklch(48.77% 0.179 305.7)
XYZxyz(17.0365, 10.1472, 41.0973)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793AAE #6FAE3A
analogous
#3F3AAE #793AAE #AE3AA9
triadic
#793AAE #AE793A #3AAE79
tetradic
#793AAE #AE3F3A #6FAE3A #3AA9AE
square
#793AAE #AE3F3A #6FAE3A #3AA9AE
split-complementary
#793AAE #A9AE3A #3AAE3F
monochromatic
#391B52 #592B80 #793AAE #975CC9 #B58AD8

Accessibility & contrast

On white

6.93
#793AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#793AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793AAE
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793AAE#FFFFFF#000000##FFFFFF
##793AAE1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#1A5AAB
Tritanopia (blue-blind)
#70536F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #793aae;
/* rgb */ color: rgb(121, 58, 174);
/* oklch */ color: oklch(48.8% 0.179 305.7);
Tailwind
colors: {
  custom: {
    50: '#a474c7',
    500: '#793aae',
    950: '#000000',
  },
}
SCSS
$custom: #793aae;
$custom-light: #a474c7;
$custom-dark: #000000;
JSON
{
  "hex": "#793aae",
  "rgb": {
    "r": 121,
    "g": 58,
    "b": 174
  },
  "hsl": {
    "h": 272.586,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48771,
    "c": 0.17888,
    "h": 305.7
  },
  "luminance": 0.10147
}

Semantic roles & 50–950 ramp

primary
#793AAE
secondary
#9FC281
accent
#DA4E8E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #793AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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