#792C91#792C91

#792C91 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.168 H 317.1°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#792C91
RGBrgb(121, 44, 145)
HSLhsl(286, 53%, 37%)
HSVhsv(286, 70%, 57%)
CMYKcmyk(16.6%, 69.7%, 0%, 43.1%)
CIE-LABlab(33.80, 48.76, -40.68)
CIE-LCHlch(33.80, 63.50, 320.16°)
OKLaboklab(45.06% 0.1228 -0.1142)
OKLCHoklch(45.06% 0.168 317.1)
XYZxyz(13.8959, 7.9112, 27.5776)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C91 #44912C
analogous
#472C91 #792C91 #912C76
triadic
#792C91 #91792C #2C9179
tetradic
#792C91 #91472C #44912C #2C7691
square
#792C91 #91472C #44912C #2C7691
split-complementary
#792C91 #76912C #2C9147
monochromatic
#2B1033 #521E62 #792C91 #A03AC0 #B867D1

Accessibility & contrast

On white

8.13
#792C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#792C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C91
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C91#FFFFFF#000000##FFFFFF
##792C911.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#2E528F
Tritanopia (blue-blind)
#783F5B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792c91;
/* rgb */ color: rgb(121, 44, 145);
/* oklch */ color: oklch(45.1% 0.168 317.1);
Tailwind
colors: {
  custom: {
    50: '#a36cb2',
    500: '#792c91',
    950: '#000000',
  },
}
SCSS
$custom: #792c91;
$custom-light: #a36cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#792c91",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 285.743,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45058,
    "c": 0.16767,
    "h": 317.1
  },
  "luminance": 0.07911
}

Semantic roles & 50–950 ramp

primary
#792C91
secondary
#76B762
accent
#DD4B6E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792C91

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

Preview Lab → · Contrast checker → · Palette generator →

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