#792E89#792E89

#792E89 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.8% C 0.157 H 320.2°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#792E89
RGBrgb(121, 46, 137)
HSLhsl(289, 50%, 36%)
HSVhsv(289, 66%, 54%)
CMYKcmyk(11.7%, 66.4%, 0%, 46.3%)
CIE-LABlab(33.62, 46.21, -36.05)
CIE-LCHlch(33.62, 58.61, 322.05°)
OKLaboklab(44.77% 0.1207 -0.1007)
OKLCHoklch(44.77% 0.157 320.2)
XYZxyz(13.3770, 7.8257, 24.4680)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E89 #3E892E
analogous
#4B2E89 #792E89 #892E6B
triadic
#792E89 #89792E #2E8979
tetradic
#792E89 #894B2E #3E892E #2E6B89
square
#792E89 #894B2E #3E892E #2E6B89
split-complementary
#792E89 #6B892E #2E894B
monochromatic
#280F2D #511F5B #792E89 #A13DB7 #BA66CC

Accessibility & contrast

On white

8.19
#792E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#792E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E89
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E89#FFFFFF#000000##FFFFFF
##792E891.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134A8C
Deuteranopia (green-blind)
#365287
Tritanopia (blue-blind)
#7A3D57
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792e89;
/* rgb */ color: rgb(121, 46, 137);
/* oklch */ color: oklch(44.8% 0.157 320.2);
Tailwind
colors: {
  custom: {
    50: '#a26dac',
    500: '#792e89',
    950: '#000000',
  },
}
SCSS
$custom: #792e89;
$custom-light: #a26dac;
$custom-dark: #000000;
JSON
{
  "hex": "#792e89",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 289.451,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44767,
    "c": 0.15713,
    "h": 320.2
  },
  "luminance": 0.07825
}

Semantic roles & 50–950 ramp

primary
#792E89
secondary
#6FB260
accent
#D94F67
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792E89

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

Preview Lab → · Contrast checker → · Palette generator →

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