#792B8A#792B8A

#792B8A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.162 H 320.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#792B8A
RGBrgb(121, 43, 138)
HSLhsl(289, 52%, 35%)
HSVhsv(289, 69%, 54%)
CMYKcmyk(12.3%, 68.8%, 0%, 45.9%)
CIE-LABlab(33.20, 47.76, -37.34)
CIE-LCHlch(33.20, 60.62, 321.99°)
OKLaboklab(44.48% 0.1242 -0.1044)
OKLCHoklch(44.48% 0.162 320)
XYZxyz(13.3359, 7.6283, 24.8098)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B8A #3C8A2B
analogous
#492B8A #792B8A #8A2B6B
triadic
#792B8A #8A792B #2B8A79
tetradic
#792B8A #8A492B #3C8A2B #2B6B8A
square
#792B8A #8A492B #3C8A2B #2B6B8A
split-complementary
#792B8A #6B8A2B #2B8A49
monochromatic
#270E2D #501C5B #792B8A #A23AB9 #BB61CE

Accessibility & contrast

On white

8.31
#792B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#792B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B8A
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B8A#FFFFFF#000000##FFFFFF
##792B8A1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498D
Deuteranopia (green-blind)
#335188
Tritanopia (blue-blind)
#793C57
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792b8a;
/* rgb */ color: rgb(121, 43, 138);
/* oklch */ color: oklch(44.5% 0.162 320.0);
Tailwind
colors: {
  custom: {
    50: '#a36bad',
    500: '#792b8a',
    950: '#000000',
  },
}
SCSS
$custom: #792b8a;
$custom-light: #a36bad;
$custom-dark: #000000;
JSON
{
  "hex": "#792b8a",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 289.263,
    "s": 52.486,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44484,
    "c": 0.16227,
    "h": 320
  },
  "luminance": 0.07628
}

Semantic roles & 50–950 ramp

primary
#792B8A
secondary
#6CB45D
accent
#DC4C66
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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