#792A88#792A88

#792A88 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.162 H 320.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#792A88
RGBrgb(121, 42, 136)
HSLhsl(290, 53%, 35%)
HSVhsv(290, 69%, 53%)
CMYKcmyk(11%, 69.1%, 0%, 46.7%)
CIE-LABlab(32.92, 47.80, -36.54)
CIE-LCHlch(32.92, 60.17, 322.60°)
OKLaboklab(44.24% 0.1254 -0.1021)
OKLCHoklch(44.24% 0.162 320.9)
XYZxyz(13.1565, 7.4991, 24.0423)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A88 #39882A
analogous
#4A2A88 #792A88 #882A68
triadic
#792A88 #88792A #2A8879
tetradic
#792A88 #884A2A #39882A #2A6888
square
#792A88 #884A2A #39882A #2A6888
split-complementary
#792A88 #68882A #2A884A
monochromatic
#260D2A #4F1C59 #792A88 #A338B7 #BC5FCE

Accessibility & contrast

On white

8.40
#792A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#792A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A88
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A88#FFFFFF#000000##FFFFFF
##792A881.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A488B
Deuteranopia (green-blind)
#345086
Tritanopia (blue-blind)
#7A3A55
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792a88;
/* rgb */ color: rgb(121, 42, 136);
/* oklch */ color: oklch(44.2% 0.162 320.9);
Tailwind
colors: {
  custom: {
    50: '#a36aab',
    500: '#792a88',
    950: '#000000',
  },
}
SCSS
$custom: #792a88;
$custom-light: #a36aab;
$custom-dark: #000000;
JSON
{
  "hex": "#792a88",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 290.426,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44243,
    "c": 0.16173,
    "h": 320.9
  },
  "luminance": 0.07498
}

Semantic roles & 50–950 ramp

primary
#792A88
secondary
#69B35B
accent
#DC4C63
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792A88

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

Preview Lab → · Contrast checker → · Palette generator →

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