#792C92#792C92

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

Color values

HEX#792C92
RGBrgb(121, 44, 146)
HSLhsl(285, 54%, 37%)
HSVhsv(285, 70%, 57%)
CMYKcmyk(17.1%, 69.9%, 0%, 42.7%)
CIE-LABlab(33.86, 48.97, -41.19)
CIE-LCHlch(33.86, 63.99, 319.93°)
OKLaboklab(45.13% 0.1227 -0.1157)
OKLCHoklch(45.13% 0.169 316.7)
XYZxyz(13.9734, 7.9422, 27.9855)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C92 #45922C
analogous
#462C92 #792C92 #922C78
triadic
#792C92 #92792C #2C9279
tetradic
#792C92 #92462C #45922C #2C7892
square
#792C92 #92462C #45922C #2C7892
split-complementary
#792C92 #78922C #2C9246
monochromatic
#2B1034 #521E63 #792C92 #A03AC1 #B767D1

Accessibility & contrast

On white

8.11
#792C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792C92
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C92#FFFFFF#000000##FFFFFF
##792C921.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#2D5290
Tritanopia (blue-blind)
#78405B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792c92;
/* rgb */ color: rgb(121, 44, 146);
/* oklch */ color: oklch(45.1% 0.169 316.7);
Tailwind
colors: {
  custom: {
    50: '#a36cb2',
    500: '#792c92',
    950: '#000000',
  },
}
SCSS
$custom: #792c92;
$custom-light: #a36cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#792c92",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 285.294,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45125,
    "c": 0.16864,
    "h": 316.7
  },
  "luminance": 0.07942
}

Semantic roles & 50–950 ramp

primary
#792C92
secondary
#77B862
accent
#DD4B6F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792C92

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

Preview Lab → · Contrast checker → · Palette generator →

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