#793C99#793C99

#793C99 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.6% C 0.153 H 312.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#793C99
RGBrgb(121, 60, 153)
HSLhsl(279, 44%, 42%)
HSVhsv(279, 61%, 60%)
CMYKcmyk(20.9%, 60.8%, 0%, 40%)
CIE-LABlab(37.11, 42.77, -40.26)
CIE-LCHlch(37.11, 58.74, 316.74°)
OKLaboklab(47.61% 0.1028 -0.1131)
OKLCHoklch(47.61% 0.153 312.3)
XYZxyz(15.2498, 9.5970, 31.1799)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793C99 #5C993C
analogous
#4B3C99 #793C99 #993C8B
triadic
#793C99 #99793C #3C9979
tetradic
#793C99 #994B3C #5C993C #3C8B99
square
#793C99 #994B3C #5C993C #3C8B99
split-complementary
#793C99 #8B993C #3C994B
monochromatic
#331A41 #562B6D #793C99 #9956BD #B482CE

Accessibility & contrast

On white

7.19
#793C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#793C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793C99
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793C99#FFFFFF#000000##FFFFFF
##793C991.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549C
Deuteranopia (green-blind)
#365997
Tritanopia (blue-blind)
#764D65
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #793c99;
/* rgb */ color: rgb(121, 60, 153);
/* oklch */ color: oklch(47.6% 0.153 312.3);
Tailwind
colors: {
  custom: {
    50: '#a275b7',
    500: '#793c99',
    950: '#000000',
  },
}
SCSS
$custom: #793c99;
$custom-light: #a275b7;
$custom-dark: #000000;
JSON
{
  "hex": "#793c99",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 153
  },
  "hsl": {
    "h": 279.355,
    "s": 43.662,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47613,
    "c": 0.15282,
    "h": 312.3
  },
  "luminance": 0.09597
}

Semantic roles & 50–950 ramp

primary
#793C99
secondary
#8FB879
accent
#D35480
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #793C99

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

Preview Lab → · Contrast checker → · Palette generator →

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