#792B8B#792B8B

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

Color values

HEX#792B8B
RGBrgb(121, 43, 139)
HSLhsl(289, 53%, 36%)
HSVhsv(289, 69%, 55%)
CMYKcmyk(12.9%, 69.1%, 0%, 45.5%)
CIE-LABlab(33.26, 47.96, -37.85)
CIE-LCHlch(33.26, 61.10, 321.72°)
OKLaboklab(44.55% 0.1242 -0.1059)
OKLCHoklch(44.55% 0.163 319.5)
XYZxyz(13.4086, 7.6574, 25.1928)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B8B #3D8B2B
analogous
#492B8B #792B8B #8B2B6D
triadic
#792B8B #8B792B #2B8B79
tetradic
#792B8B #8B492B #3D8B2B #2B6D8B
square
#792B8B #8B492B #3D8B2B #2B6D8B
split-complementary
#792B8B #6D8B2B #2B8B49
monochromatic
#280E2E #501D5C #792B8B #A239BA #BA62CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##792B8B#FFFFFF#000000##FFFFFF
##792B8B1.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)
#05498E
Deuteranopia (green-blind)
#325189
Tritanopia (blue-blind)
#793C57
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792b8b;
/* rgb */ color: rgb(121, 43, 139);
/* oklch */ color: oklch(44.5% 0.163 319.5);
Tailwind
colors: {
  custom: {
    50: '#a36bad',
    500: '#792b8b',
    950: '#000000',
  },
}
SCSS
$custom: #792b8b;
$custom-light: #a36bad;
$custom-dark: #000000;
JSON
{
  "hex": "#792b8b",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 288.75,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44549,
    "c": 0.16322,
    "h": 319.5
  },
  "luminance": 0.07657
}

Semantic roles & 50–950 ramp

primary
#792B8B
secondary
#6EB55D
accent
#DC4C67
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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