#792B88#792B88

#792B88 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.160 H 320.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#792B88
RGBrgb(121, 43, 136)
HSLhsl(290, 52%, 35%)
HSVhsv(290, 68%, 53%)
CMYKcmyk(11%, 68.4%, 0%, 46.7%)
CIE-LABlab(33.07, 47.36, -36.30)
CIE-LCHlch(33.07, 59.67, 322.53°)
OKLaboklab(44.36% 0.1243 -0.1014)
OKLCHoklch(44.36% 0.16 320.8)
XYZxyz(13.1925, 7.5709, 24.0542)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B88 #3A882B
analogous
#4B2B88 #792B88 #882B68
triadic
#792B88 #88792B #2B8879
tetradic
#792B88 #884B2B #3A882B #2B6888
square
#792B88 #884B2B #3A882B #2B6888
split-complementary
#792B88 #68882B #2B884B
monochromatic
#260E2B #501C5A #792B88 #A23AB6 #BB61CD

Accessibility & contrast

On white

8.35
#792B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#792B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B88
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B88#FFFFFF#000000##FFFFFF
##792B881.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D488B
Deuteranopia (green-blind)
#345186
Tritanopia (blue-blind)
#7A3B56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792b88;
/* rgb */ color: rgb(121, 43, 136);
/* oklch */ color: oklch(44.4% 0.160 320.8);
Tailwind
colors: {
  custom: {
    50: '#a36bab',
    500: '#792b88',
    950: '#000000',
  },
}
SCSS
$custom: #792b88;
$custom-light: #a36bab;
$custom-dark: #000000;
JSON
{
  "hex": "#792b88",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 290.323,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44355,
    "c": 0.16037,
    "h": 320.8
  },
  "luminance": 0.0757
}

Semantic roles & 50–950 ramp

primary
#792B88
secondary
#6AB35C
accent
#DB4C63
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792B88

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

Preview Lab → · Contrast checker → · Palette generator →

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