#792E84#792E84

#792E84 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.152 H 322.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#792E84
RGBrgb(121, 46, 132)
HSLhsl(292, 48%, 35%)
HSVhsv(292, 65%, 52%)
CMYKcmyk(8.3%, 65.2%, 0%, 48.2%)
CIE-LABlab(33.32, 45.21, -33.42)
CIE-LCHlch(33.32, 56.22, 323.52°)
OKLaboklab(44.46% 0.1206 -0.093)
OKLCHoklch(44.46% 0.152 322.4)
XYZxyz(13.0266, 7.6856, 22.6226)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E84 #39842E
analogous
#4E2E84 #792E84 #842E64
triadic
#792E84 #84792E #2E8479
tetradic
#792E84 #844E2E #39842E #2E6484
square
#792E84 #844E2E #39842E #2E6484
split-complementary
#792E84 #64842E #2E844E
monochromatic
#260E29 #4F1E57 #792E84 #A33EB1 #BC64C9

Accessibility & contrast

On white

8.28
#792E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792E84
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E84#FFFFFF#000000##FFFFFF
##792E841.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4987
Deuteranopia (green-blind)
#395182
Tritanopia (blue-blind)
#7B3C55
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792e84;
/* rgb */ color: rgb(121, 46, 132);
/* oklch */ color: oklch(44.5% 0.152 322.4);
Tailwind
colors: {
  custom: {
    50: '#a26ca8',
    500: '#792e84',
    950: '#000000',
  },
}
SCSS
$custom: #792e84;
$custom-light: #a26ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#792e84",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 292.326,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44456,
    "c": 0.1523,
    "h": 322.4
  },
  "luminance": 0.07685
}

Semantic roles & 50–950 ramp

primary
#792E84
secondary
#69B05E
accent
#D85061
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792E84

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

Preview Lab → · Contrast checker → · Palette generator →

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