#792F84#792F84

#792F84 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.151 H 322.3°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#792F84
RGBrgb(121, 47, 132)
HSLhsl(292, 47%, 35%)
HSVhsv(292, 64%, 52%)
CMYKcmyk(8.3%, 64.4%, 0%, 48.2%)
CIE-LABlab(33.49, 44.74, -33.16)
CIE-LCHlch(33.49, 55.69, 323.46°)
OKLaboklab(44.58% 0.1193 -0.0922)
OKLCHoklch(44.58% 0.151 322.3)
XYZxyz(13.0661, 7.7646, 22.6358)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F84 #3A842F
analogous
#4E2F84 #792F84 #842F65
triadic
#792F84 #84792F #2F8479
tetradic
#792F84 #844E2F #3A842F #2F6584
square
#792F84 #844E2F #3A842F #2F6584
split-complementary
#792F84 #65842F #2F844E
monochromatic
#260F2A #501F57 #792F84 #A23FB1 #BB65C8

Accessibility & contrast

On white

8.23
#792F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#792F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F84
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F84#FFFFFF#000000##FFFFFF
##792F841.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4987
Deuteranopia (green-blind)
#3A5282
Tritanopia (blue-blind)
#7B3C55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792f84;
/* rgb */ color: rgb(121, 47, 132);
/* oklch */ color: oklch(44.6% 0.151 322.3);
Tailwind
colors: {
  custom: {
    50: '#a26da8',
    500: '#792f84',
    950: '#000000',
  },
}
SCSS
$custom: #792f84;
$custom-light: #a26da8;
$custom-dark: #000000;
JSON
{
  "hex": "#792f84",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 292.235,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44578,
    "c": 0.15083,
    "h": 322.3
  },
  "luminance": 0.07764
}

Semantic roles & 50–950 ramp

primary
#792F84
secondary
#6AAF60
accent
#D75162
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792F84

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

Preview Lab → · Contrast checker → · Palette generator →

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