#792D88#792D88

#792D88 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.158 H 320.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#792D88
RGBrgb(121, 45, 136)
HSLhsl(290, 50%, 35%)
HSVhsv(290, 67%, 53%)
CMYKcmyk(11%, 66.9%, 0%, 46.7%)
CIE-LABlab(33.39, 46.47, -35.79)
CIE-LCHlch(33.39, 58.65, 322.40°)
OKLaboklab(44.59% 0.1219 -0.0999)
OKLCHoklch(44.59% 0.158 320.7)
XYZxyz(13.2670, 7.7199, 24.0791)
Luminance0.0772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D88 #3C882D
analogous
#4B2D88 #792D88 #882D69
triadic
#792D88 #88792D #2D8879
tetradic
#792D88 #884B2D #3C882D #2D6988
square
#792D88 #884B2D #3C882D #2D6988
split-complementary
#792D88 #69882D #2D884B
monochromatic
#270F2C #501E5A #792D88 #A23CB6 #BB64CC

Accessibility & contrast

On white

8.26
#792D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#792D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D88
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D88#FFFFFF#000000##FFFFFF
##792D881.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498B
Deuteranopia (green-blind)
#365186
Tritanopia (blue-blind)
#7A3C56
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792d88;
/* rgb */ color: rgb(121, 45, 136);
/* oklch */ color: oklch(44.6% 0.158 320.7);
Tailwind
colors: {
  custom: {
    50: '#a36cab',
    500: '#792d88',
    950: '#000000',
  },
}
SCSS
$custom: #792d88;
$custom-light: #a36cab;
$custom-dark: #000000;
JSON
{
  "hex": "#792d88",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 290.11,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44586,
    "c": 0.15758,
    "h": 320.7
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#792D88
secondary
#6CB25F
accent
#DA4E65
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792D88

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

Preview Lab → · Contrast checker → · Palette generator →

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