#792C88#792C88

#792C88 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.159 H 320.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#792C88
RGBrgb(121, 44, 136)
HSLhsl(290, 51%, 35%)
HSVhsv(290, 68%, 53%)
CMYKcmyk(11%, 67.6%, 0%, 46.7%)
CIE-LABlab(33.23, 46.92, -36.04)
CIE-LCHlch(33.23, 59.16, 322.47°)
OKLaboklab(44.47% 0.1231 -0.1006)
OKLCHoklch(44.47% 0.159 320.7)
XYZxyz(13.2293, 7.6445, 24.0665)
Luminance0.0764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C88 #3B882C
analogous
#4B2C88 #792C88 #882C69
triadic
#792C88 #88792C #2C8879
tetradic
#792C88 #884B2C #3B882C #2C6988
square
#792C88 #884B2C #3B882C #2C6988
split-complementary
#792C88 #69882C #2C884B
monochromatic
#270E2C #501D5A #792C88 #A23BB6 #BB62CC

Accessibility & contrast

On white

8.30
#792C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#792C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C88
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C88#FFFFFF#000000##FFFFFF
##792C881.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10498B
Deuteranopia (green-blind)
#355186
Tritanopia (blue-blind)
#7A3C56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792c88;
/* rgb */ color: rgb(121, 44, 136);
/* oklch */ color: oklch(44.5% 0.159 320.7);
Tailwind
colors: {
  custom: {
    50: '#a36bab',
    500: '#792c88',
    950: '#000000',
  },
}
SCSS
$custom: #792c88;
$custom-light: #a36bab;
$custom-dark: #000000;
JSON
{
  "hex": "#792c88",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 290.217,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4447,
    "c": 0.15899,
    "h": 320.7
  },
  "luminance": 0.07644
}

Semantic roles & 50–950 ramp

primary
#792C88
secondary
#6BB35D
accent
#DB4D64
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792C88

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

Preview Lab → · Contrast checker → · Palette generator →

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