#793CA4#793CA4

#793CA4 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.3% C 0.165 H 308.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#793CA4
RGBrgb(121, 60, 164)
HSLhsl(275, 46%, 44%)
HSVhsv(275, 63%, 64%)
CMYKcmyk(26.2%, 63.4%, 0%, 35.7%)
CIE-LABlab(37.80, 45.32, -45.77)
CIE-LCHlch(37.80, 64.42, 314.72°)
OKLaboklab(48.34% 0.1026 -0.1292)
OKLCHoklch(48.34% 0.165 308.5)
XYZxyz(16.2005, 9.9773, 36.1871)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793CA4 #67A43C
analogous
#453CA4 #793CA4 #A43C9B
triadic
#793CA4 #A4793C #3CA479
tetradic
#793CA4 #A4453C #67A43C #3C9BA4
square
#793CA4 #A4453C #67A43C #3C9BA4
split-complementary
#793CA4 #9BA43C #3CA445
monochromatic
#371B4A #582C77 #793CA4 #985AC3 #B487D3

Accessibility & contrast

On white

7.01
#793CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#793CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #793CA4
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793CA4#FFFFFF#000000##FFFFFF
##793CA41.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0257A7
Deuteranopia (green-blind)
#2B5AA2
Tritanopia (blue-blind)
#73516A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #793ca4;
/* rgb */ color: rgb(121, 60, 164);
/* oklch */ color: oklch(48.3% 0.165 308.5);
Tailwind
colors: {
  custom: {
    50: '#a375c0',
    500: '#793ca4',
    950: '#000000',
  },
}
SCSS
$custom: #793ca4;
$custom-light: #a375c0;
$custom-dark: #000000;
JSON
{
  "hex": "#793ca4",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 275.192,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48338,
    "c": 0.16503,
    "h": 308.5
  },
  "luminance": 0.09977
}

Semantic roles & 50–950 ramp

primary
#793CA4
secondary
#98BD7E
accent
#D65288
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #793CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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