#792F89#792F89

#792F89 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.156 H 320.1°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#792F89
RGBrgb(121, 47, 137)
HSLhsl(289, 49%, 36%)
HSVhsv(289, 66%, 54%)
CMYKcmyk(11.7%, 65.7%, 0%, 46.3%)
CIE-LABlab(33.78, 45.75, -35.78)
CIE-LCHlch(33.78, 58.08, 321.97°)
OKLaboklab(44.89% 0.1194 -0.0999)
OKLCHoklch(44.89% 0.156 320.1)
XYZxyz(13.4165, 7.9048, 24.4811)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F89 #3F892F
analogous
#4C2F89 #792F89 #892F6C
triadic
#792F89 #89792F #2F8979
tetradic
#792F89 #894C2F #3F892F #2F6C89
square
#792F89 #894C2F #3F892F #2F6C89
split-complementary
#792F89 #6C892F #2F894C
monochromatic
#29102E #511F5B #792F89 #A13FB7 #B967CB

Accessibility & contrast

On white

8.14
#792F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#792F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F89
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F89#FFFFFF#000000##FFFFFF
##792F891.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164A8C
Deuteranopia (green-blind)
#375287
Tritanopia (blue-blind)
#7A3E58
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792f89;
/* rgb */ color: rgb(121, 47, 137);
/* oklch */ color: oklch(44.9% 0.156 320.1);
Tailwind
colors: {
  custom: {
    50: '#a26dac',
    500: '#792f89',
    950: '#000000',
  },
}
SCSS
$custom: #792f89;
$custom-light: #a26dac;
$custom-dark: #000000;
JSON
{
  "hex": "#792f89",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 289.333,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44888,
    "c": 0.1557,
    "h": 320.1
  },
  "luminance": 0.07904
}

Semantic roles & 50–950 ramp

primary
#792F89
secondary
#70B262
accent
#D84F68
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792F89

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

Preview Lab → · Contrast checker → · Palette generator →

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