#792E88#792E88

#792E88 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.156 H 320.6°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#792E88
RGBrgb(121, 46, 136)
HSLhsl(290, 49%, 36%)
HSVhsv(290, 66%, 53%)
CMYKcmyk(11%, 66.2%, 0%, 46.7%)
CIE-LABlab(33.56, 46.01, -35.52)
CIE-LCHlch(33.56, 58.13, 322.33°)
OKLaboklab(44.7% 0.1207 -0.0991)
OKLCHoklch(44.7% 0.156 320.6)
XYZxyz(13.3056, 7.7972, 24.0919)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E88 #3D882E
analogous
#4C2E88 #792E88 #882E6A
triadic
#792E88 #88792E #2E8879
tetradic
#792E88 #884C2E #3D882E #2E6A88
square
#792E88 #884C2E #3D882E #2E6A88
split-complementary
#792E88 #6A882E #2E884C
monochromatic
#280F2D #501F5A #792E88 #A23DB6 #BA65CB

Accessibility & contrast

On white

8.21
#792E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#792E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E88
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E88#FFFFFF#000000##FFFFFF
##792E881.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8B
Deuteranopia (green-blind)
#375286
Tritanopia (blue-blind)
#7A3D57
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792e88;
/* rgb */ color: rgb(121, 46, 136);
/* oklch */ color: oklch(44.7% 0.156 320.6);
Tailwind
colors: {
  custom: {
    50: '#a26cab',
    500: '#792e88',
    950: '#000000',
  },
}
SCSS
$custom: #792e88;
$custom-light: #a26cab;
$custom-dark: #000000;
JSON
{
  "hex": "#792e88",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 290,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44704,
    "c": 0.15616,
    "h": 320.6
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

primary
#792E88
secondary
#6EB260
accent
#D94F66
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792E88

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

Preview Lab → · Contrast checker → · Palette generator →

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