#792C86#792C86

#792C86 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.157 H 321.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#792C86
RGBrgb(121, 44, 134)
HSLhsl(291, 51%, 35%)
HSVhsv(291, 67%, 53%)
CMYKcmyk(9.7%, 67.2%, 0%, 47.5%)
CIE-LABlab(33.11, 46.52, -35.00)
CIE-LCHlch(33.11, 58.21, 323.04°)
OKLaboklab(44.34% 0.1231 -0.0976)
OKLCHoklch(44.34% 0.157 321.6)
XYZxyz(13.0884, 7.5882, 23.3249)
Luminance0.0759 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C86 #39862C
analogous
#4C2C86 #792C86 #862C66
triadic
#792C86 #86792C #2C8679
tetradic
#792C86 #864C2C #39862C #2C6686
square
#792C86 #864C2C #39862C #2C6686
split-complementary
#792C86 #66862C #2C864C
monochromatic
#260E2A #4F1D58 #792C86 #A33BB4 #BC61CB

Accessibility & contrast

On white

8.34
#792C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#792C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C86
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C86#FFFFFF#000000##FFFFFF
##792C861.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144889
Deuteranopia (green-blind)
#375184
Tritanopia (blue-blind)
#7A3B55
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792c86;
/* rgb */ color: rgb(121, 44, 134);
/* oklch */ color: oklch(44.3% 0.157 321.6);
Tailwind
colors: {
  custom: {
    50: '#a36baa',
    500: '#792c86',
    950: '#000000',
  },
}
SCSS
$custom: #792c86;
$custom-light: #a36baa;
$custom-dark: #000000;
JSON
{
  "hex": "#792c86",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 291.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44343,
    "c": 0.15708,
    "h": 321.6
  },
  "luminance": 0.07588
}

Semantic roles & 50–950 ramp

primary
#792C86
secondary
#69B15C
accent
#DA4E62
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792C86

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

Preview Lab → · Contrast checker → · Palette generator →

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