#792B8D#792B8D

#792B8D is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.165 H 318.7°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#792B8D
RGBrgb(121, 43, 141)
HSLhsl(288, 53%, 36%)
HSVhsv(288, 70%, 55%)
CMYKcmyk(14.2%, 69.5%, 0%, 44.7%)
CIE-LABlab(33.39, 48.37, -38.88)
CIE-LCHlch(33.39, 62.06, 321.20°)
OKLaboklab(44.68% 0.1241 -0.1089)
OKLCHoklch(44.68% 0.165 318.7)
XYZxyz(13.5561, 7.7164, 25.9695)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B8D #3F8D2B
analogous
#482B8D #792B8D #8D2B70
triadic
#792B8D #8D792B #2B8D79
tetradic
#792B8D #8D482B #3F8D2B #2B708D
square
#792B8D #8D482B #3F8D2B #2B708D
split-complementary
#792B8D #708D2B #2B8D48
monochromatic
#290E2F #511D5E #792B8D #A139BC #B963CF

Accessibility & contrast

On white

8.26
#792B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#792B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B8D
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B8D#FFFFFF#000000##FFFFFF
##792B8D1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#31518B
Tritanopia (blue-blind)
#793D58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792b8d;
/* rgb */ color: rgb(121, 43, 141);
/* oklch */ color: oklch(44.7% 0.165 318.7);
Tailwind
colors: {
  custom: {
    50: '#a36baf',
    500: '#792b8d',
    950: '#000000',
  },
}
SCSS
$custom: #792b8d;
$custom-light: #a36baf;
$custom-dark: #000000;
JSON
{
  "hex": "#792b8d",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 287.755,
    "s": 53.261,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4468,
    "c": 0.16514,
    "h": 318.7
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#792B8D
secondary
#70B65E
accent
#DD4B69
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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