#792A92#792A92

#792A92 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.171 H 316.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#792A92
RGBrgb(121, 42, 146)
HSLhsl(286, 55%, 37%)
HSVhsv(286, 71%, 57%)
CMYKcmyk(17.1%, 71.2%, 0%, 42.7%)
CIE-LABlab(33.56, 49.83, -41.68)
CIE-LCHlch(33.56, 64.96, 320.09°)
OKLaboklab(44.91% 0.1249 -0.1171)
OKLCHoklch(44.91% 0.171 316.8)
XYZxyz(13.9007, 7.7968, 27.9613)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A92 #43922A
analogous
#452A92 #792A92 #922A77
triadic
#792A92 #92792A #2A9279
tetradic
#792A92 #92452A #43922A #2A7792
square
#792A92 #92452A #43922A #2A7792
split-complementary
#792A92 #77922A #2A9245
monochromatic
#2A0F33 #521C62 #792A92 #A038C2 #B864D2

Accessibility & contrast

On white

8.21
#792A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#792A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A92
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A92#FFFFFF#000000##FFFFFF
##792A921.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792a92;
/* rgb */ color: rgb(121, 42, 146);
/* oklch */ color: oklch(44.9% 0.171 316.8);
Tailwind
colors: {
  custom: {
    50: '#a36bb2',
    500: '#792a92',
    950: '#000000',
  },
}
SCSS
$custom: #792a92;
$custom-light: #a36bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#792a92",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 285.577,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44906,
    "c": 0.17124,
    "h": 316.8
  },
  "luminance": 0.07796
}

Semantic roles & 50–950 ramp

primary
#792A92
secondary
#75B85F
accent
#DF496D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792A92

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

Preview Lab → · Contrast checker → · Palette generator →

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