#792E8B#792E8B

#792E8B is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.159 H 319.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#792E8B
RGBrgb(121, 46, 139)
HSLhsl(288, 50%, 36%)
HSVhsv(288, 67%, 55%)
CMYKcmyk(12.9%, 66.9%, 0%, 45.5%)
CIE-LABlab(33.74, 46.62, -37.09)
CIE-LCHlch(33.74, 59.57, 321.50°)
OKLaboklab(44.9% 0.1206 -0.1037)
OKLCHoklch(44.9% 0.159 319.3)
XYZxyz(13.5218, 7.8836, 25.2305)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E8B #408B2E
analogous
#4B2E8B #792E8B #8B2E6F
triadic
#792E8B #8B792E #2E8B79
tetradic
#792E8B #8B4B2E #408B2E #2E6F8B
square
#792E8B #8B4B2E #408B2E #2E6F8B
split-complementary
#792E8B #6F8B2E #2E8B4B
monochromatic
#29102F #511F5D #792E8B #A13DB9 #B967CD

Accessibility & contrast

On white

8.15
#792E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#792E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E8B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E8B#FFFFFF#000000##FFFFFF
##792E8B1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104A8E
Deuteranopia (green-blind)
#345289
Tritanopia (blue-blind)
#793E58
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792e8b;
/* rgb */ color: rgb(121, 46, 139);
/* oklch */ color: oklch(44.9% 0.159 319.3);
Tailwind
colors: {
  custom: {
    50: '#a36dad',
    500: '#792e8b',
    950: '#000000',
  },
}
SCSS
$custom: #792e8b;
$custom-light: #a36dad;
$custom-dark: #000000;
JSON
{
  "hex": "#792e8b",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 288.387,
    "s": 50.27,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44895,
    "c": 0.15908,
    "h": 319.3
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#792E8B
secondary
#71B361
accent
#DA4E69
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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