#792B78#792B78

#792B78 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.4% C 0.146 H 328.2°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#792B78
RGBrgb(121, 43, 120)
HSLhsl(301, 48%, 32%)
HSVhsv(301, 64%, 47%)
CMYKcmyk(0%, 64.5%, 0.8%, 52.5%)
CIE-LABlab(32.15, 44.28, -27.78)
CIE-LCHlch(32.15, 52.27, 327.90°)
OKLaboklab(43.39% 0.1238 -0.0766)
OKLCHoklch(43.39% 0.146 328.2)
XYZxyz(12.1390, 7.1496, 18.5063)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B78 #2B792C
analogous
#532B79 #792B78 #792B51
triadic
#792B78 #78792B #2B7879
tetradic
#792B78 #79532B #2B792C #2B5179
square
#792B78 #79532B #2B792C #2B5179
split-complementary
#792B78 #51792B #2B7953
monochromatic
#1F0B1E #4C1B4B #792B78 #A63BA5 #C45AC3

Accessibility & contrast

On white

8.64
#792B78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#792B78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B78
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B78#FFFFFF#000000##FFFFFF
##792B781.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22457A
Deuteranopia (green-blind)
#3E4F76
Tritanopia (blue-blind)
#7D354D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792b78;
/* rgb */ color: rgb(121, 43, 120);
/* oklch */ color: oklch(43.4% 0.146 328.2);
Tailwind
colors: {
  custom: {
    50: '#a26a9f',
    500: '#792b78',
    950: '#000000',
  },
}
SCSS
$custom: #792b78;
$custom-light: #a26a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#792b78",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 300.769,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43385,
    "c": 0.14558,
    "h": 328.2
  },
  "luminance": 0.07149
}

Semantic roles & 50–950 ramp

primary
#792B78
secondary
#56AA57
accent
#D75251
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792B78

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

Preview Lab → · Contrast checker → · Palette generator →

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