#792C93#792C93

#792C93 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.170 H 316.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#792C93
RGBrgb(121, 44, 147)
HSLhsl(285, 54%, 37%)
HSVhsv(285, 70%, 58%)
CMYKcmyk(17.7%, 70.1%, 0%, 42.4%)
CIE-LABlab(33.93, 49.18, -41.70)
CIE-LCHlch(33.93, 64.48, 319.70°)
OKLaboklab(45.19% 0.1226 -0.1172)
OKLCHoklch(45.19% 0.17 316.3)
XYZxyz(14.0515, 7.9734, 28.3970)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C93 #46932C
analogous
#452C93 #792C93 #932C7A
triadic
#792C93 #93792C #2C9379
tetradic
#792C93 #93452C #46932C #2C7A93
square
#792C93 #93452C #46932C #2C7A93
split-complementary
#792C93 #7A932C #2C9345
monochromatic
#2B1035 #521E64 #792C93 #A03AC2 #B768D2

Accessibility & contrast

On white

8.09
#792C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#792C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C93
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C93#FFFFFF#000000##FFFFFF
##792C931.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B96
Deuteranopia (green-blind)
#2C5291
Tritanopia (blue-blind)
#77405C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792c93;
/* rgb */ color: rgb(121, 44, 147);
/* oklch */ color: oklch(45.2% 0.170 316.3);
Tailwind
colors: {
  custom: {
    50: '#a36cb3',
    500: '#792c93',
    950: '#000000',
  },
}
SCSS
$custom: #792c93;
$custom-light: #a36cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#792c93",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 284.854,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45193,
    "c": 0.16962,
    "h": 316.3
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#792C93
secondary
#78B863
accent
#DD4A70
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792C93

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

Preview Lab → · Contrast checker → · Palette generator →

#792C93 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva