#792B81#792B81

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

Color values

HEX#792B81
RGBrgb(121, 43, 129)
HSLhsl(294, 50%, 34%)
HSVhsv(294, 67%, 51%)
CMYKcmyk(6.2%, 66.7%, 0%, 49.4%)
CIE-LABlab(32.65, 45.98, -32.61)
CIE-LCHlch(32.65, 56.37, 324.65°)
OKLaboklab(43.92% 0.1242 -0.0906)
OKLCHoklch(43.92% 0.154 323.9)
XYZxyz(12.7111, 7.3784, 21.5193)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B81 #33812B
analogous
#4E2B81 #792B81 #812B5E
triadic
#792B81 #81792B #2B8179
tetradic
#792B81 #814E2B #33812B #2B5E81
square
#792B81 #814E2B #33812B #2B5E81
split-complementary
#792B81 #5E812B #2B814E
monochromatic
#230C25 #4E1C53 #792B81 #A43AAF #BF5DC9

Accessibility & contrast

On white

8.48
#792B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792B81
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B81#FFFFFF#000000##FFFFFF
##792B811.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194784
Deuteranopia (green-blind)
#39507F
Tritanopia (blue-blind)
#7B3852
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792b81;
/* rgb */ color: rgb(121, 43, 129);
/* oklch */ color: oklch(43.9% 0.154 323.9);
Tailwind
colors: {
  custom: {
    50: '#a26ba6',
    500: '#792b81',
    950: '#000000',
  },
}
SCSS
$custom: #792b81;
$custom-light: #a26ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#792b81",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 294.419,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43918,
    "c": 0.15379,
    "h": 323.9
  },
  "luminance": 0.07378
}

Semantic roles & 50–950 ramp

primary
#792B81
secondary
#61AF59
accent
#DA4E5B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792B81

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

Preview Lab → · Contrast checker → · Palette generator →

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