#792A96#792A96

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

Color values

HEX#792A96
RGBrgb(121, 42, 150)
HSLhsl(284, 56%, 38%)
HSVhsv(284, 72%, 59%)
CMYKcmyk(19.3%, 72%, 0%, 41.2%)
CIE-LABlab(33.82, 50.66, -43.70)
CIE-LCHlch(33.82, 66.91, 319.22°)
OKLaboklab(45.18% 0.1246 -0.123)
OKLCHoklch(45.18% 0.175 315.4)
XYZxyz(14.2173, 7.9234, 29.6287)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A96 #47962A
analogous
#432A96 #792A96 #962A7D
triadic
#792A96 #96792A #2A9679
tetradic
#792A96 #96432A #47962A #2A7D96
square
#792A96 #96432A #47962A #2A7D96
split-complementary
#792A96 #7D962A #2A9643
monochromatic
#2C0F36 #521D66 #792A96 #A037C6 #B766D4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##792A96#FFFFFF#000000##FFFFFF
##792A961.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)
#004B99
Deuteranopia (green-blind)
#275294
Tritanopia (blue-blind)
#77405D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792a96;
/* rgb */ color: rgb(121, 42, 150);
/* oklch */ color: oklch(45.2% 0.175 315.4);
Tailwind
colors: {
  custom: {
    50: '#a36bb5',
    500: '#792a96',
    950: '#000000',
  },
}
SCSS
$custom: #792a96;
$custom-light: #a36bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#792a96",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 283.889,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45182,
    "c": 0.17508,
    "h": 315.4
  },
  "luminance": 0.07923
}

Semantic roles & 50–950 ramp

primary
#792A96
secondary
#79BA61
accent
#E04871
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792A96

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

Preview Lab → · Contrast checker → · Palette generator →

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