#793CA7#793CA7

#793CA7 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.168 H 307.5°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#793CA7
RGBrgb(121, 60, 167)
HSLhsl(274, 47%, 45%)
HSVhsv(274, 64%, 65%)
CMYKcmyk(27.5%, 64.1%, 0%, 34.5%)
CIE-LABlab(38.00, 46.03, -47.25)
CIE-LCHlch(38.00, 65.97, 314.25°)
OKLaboklab(48.54% 0.1025 -0.1336)
OKLCHoklch(48.54% 0.168 307.5)
XYZxyz(16.4746, 10.0869, 37.6308)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CA7 #6AA73C
analogous
#443CA7 #793CA7 #A73CA0
triadic
#793CA7 #A7793C #3CA779
tetradic
#793CA7 #A7443C #6AA73C #3CA0A7
square
#793CA7 #A7443C #6AA73C #3CA0A7
split-complementary
#793CA7 #A0A73C #3CA744
monochromatic
#381C4D #582C7A #793CA7 #975CC4 #B489D5

Accessibility & contrast

On white

6.96
#793CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#793CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CA7
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CA7#FFFFFF#000000##FFFFFF
##793CA71.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#285AA5
Tritanopia (blue-blind)
#72526C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #793ca7;
/* rgb */ color: rgb(121, 60, 167);
/* oklch */ color: oklch(48.5% 0.168 307.5);
Tailwind
colors: {
  custom: {
    50: '#a375c2',
    500: '#793ca7',
    950: '#000000',
  },
}
SCSS
$custom: #793ca7;
$custom-light: #a375c2;
$custom-dark: #000000;
JSON
{
  "hex": "#793ca7",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 274.206,
    "s": 47.137,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48543,
    "c": 0.16837,
    "h": 307.5
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#793CA7
secondary
#9BBF80
accent
#D7518B
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #793CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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