#792E7A#792E7A

#792E7A is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.143 H 327.2°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#792E7A
RGBrgb(121, 46, 122)
HSLhsl(299, 45%, 33%)
HSVhsv(299, 62%, 48%)
CMYKcmyk(0.8%, 62.3%, 0%, 52.2%)
CIE-LABlab(32.76, 43.27, -28.07)
CIE-LCHlch(32.76, 51.57, 327.02°)
OKLaboklab(43.86% 0.12 -0.0775)
OKLCHoklch(43.86% 0.143 327.2)
XYZxyz(12.3748, 7.4249, 19.1899)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E7A #2F7A2E
analogous
#532E7A #792E7A #7A2E55
triadic
#792E7A #7A792E #2E7A79
tetradic
#792E7A #7A532E #2F7A2E #2E557A
square
#792E7A #7A532E #2F7A2E #2E557A
split-complementary
#792E7A #557A2E #2E7A53
monochromatic
#210C21 #4D1D4E #792E7A #A53FA6 #C260C3

Accessibility & contrast

On white

8.45
#792E7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#792E7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E7A
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E7A#FFFFFF#000000##FFFFFF
##792E7A1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24477C
Deuteranopia (green-blind)
#3F5078
Tritanopia (blue-blind)
#7C384F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792e7a;
/* rgb */ color: rgb(121, 46, 122);
/* oklch */ color: oklch(43.9% 0.143 327.2);
Tailwind
colors: {
  custom: {
    50: '#a26ca1',
    500: '#792e7a',
    950: '#000000',
  },
}
SCSS
$custom: #792e7a;
$custom-light: #a26ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#792e7a",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 299.211,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43864,
    "c": 0.14288,
    "h": 327.2
  },
  "luminance": 0.07424
}

Semantic roles & 50–950 ramp

primary
#792E7A
secondary
#5BAA5A
accent
#D55355
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #792E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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