#792D89#792D89

#792D89 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.159 H 320.2°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#792D89
RGBrgb(121, 45, 137)
HSLhsl(290, 51%, 36%)
HSVhsv(290, 67%, 54%)
CMYKcmyk(11.7%, 67.2%, 0%, 46.3%)
CIE-LABlab(33.45, 46.67, -36.31)
CIE-LCHlch(33.45, 59.13, 322.12°)
OKLaboklab(44.65% 0.1219 -0.1014)
OKLCHoklch(44.65% 0.159 320.2)
XYZxyz(13.3384, 7.7485, 24.4551)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D89 #3D892D
analogous
#4B2D89 #792D89 #892D6B
triadic
#792D89 #89792D #2D8979
tetradic
#792D89 #894B2D #3D892D #2D6B89
square
#792D89 #894B2D #3D892D #2D6B89
split-complementary
#792D89 #6B892D #2D894B
monochromatic
#280F2D #501E5B #792D89 #A23CB7 #BA64CC

Accessibility & contrast

On white

8.24
#792D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#792D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D89
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D89#FFFFFF#000000##FFFFFF
##792D891.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11498C
Deuteranopia (green-blind)
#355187
Tritanopia (blue-blind)
#7A3D57
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792d89;
/* rgb */ color: rgb(121, 45, 137);
/* oklch */ color: oklch(44.6% 0.159 320.2);
Tailwind
colors: {
  custom: {
    50: '#a36cac',
    500: '#792d89',
    950: '#000000',
  },
}
SCSS
$custom: #792d89;
$custom-light: #a36cac;
$custom-dark: #000000;
JSON
{
  "hex": "#792d89",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 289.565,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44649,
    "c": 0.15855,
    "h": 320.2
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#792D89
secondary
#6EB35F
accent
#DA4E66
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792D89

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

Preview Lab → · Contrast checker → · Palette generator →

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