#792F8A#792F8A

#792F8A is a dark, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.157 H 319.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#792F8A
RGBrgb(121, 47, 138)
HSLhsl(289, 49%, 36%)
HSVhsv(289, 66%, 54%)
CMYKcmyk(12.3%, 65.9%, 0%, 45.9%)
CIE-LABlab(33.84, 45.96, -36.30)
CIE-LCHlch(33.84, 58.56, 321.69°)
OKLaboklab(44.95% 0.1194 -0.1014)
OKLCHoklch(44.95% 0.157 319.7)
XYZxyz(13.4885, 7.9336, 24.8607)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F8A #408A2F
analogous
#4C2F8A #792F8A #8A2F6E
triadic
#792F8A #8A792F #2F8A79
tetradic
#792F8A #8A4C2F #408A2F #2F6E8A
square
#792F8A #8A4C2F #408A2F #2F6E8A
split-complementary
#792F8A #6E8A2F #2F8A4C
monochromatic
#29102F #511F5C #792F8A #A13FB8 #B968CC

Accessibility & contrast

On white

8.12
#792F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#792F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F8A
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F8A#FFFFFF#000000##FFFFFF
##792F8A1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144B8D
Deuteranopia (green-blind)
#365288
Tritanopia (blue-blind)
#793F58
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792f8a;
/* rgb */ color: rgb(121, 47, 138);
/* oklch */ color: oklch(45.0% 0.157 319.7);
Tailwind
colors: {
  custom: {
    50: '#a26dac',
    500: '#792f8a',
    950: '#000000',
  },
}
SCSS
$custom: #792f8a;
$custom-light: #a26dac;
$custom-dark: #000000;
JSON
{
  "hex": "#792f8a",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 288.791,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44951,
    "c": 0.15668,
    "h": 319.7
  },
  "luminance": 0.07933
}

Semantic roles & 50–950 ramp

primary
#792F8A
secondary
#71B362
accent
#D94F69
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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