#792B7E#792B7E

#792B7E is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.151 H 325.3°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#792B7E
RGBrgb(121, 43, 126)
HSLhsl(296, 49%, 33%)
HSVhsv(296, 66%, 49%)
CMYKcmyk(4%, 65.9%, 0%, 50.6%)
CIE-LABlab(32.48, 45.40, -31.01)
CIE-LCHlch(32.48, 54.98, 325.66°)
OKLaboklab(43.74% 0.1241 -0.086)
OKLCHoklch(43.74% 0.151 325.3)
XYZxyz(12.5146, 7.2998, 20.4845)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B7E #307E2B
analogous
#502B7E #792B7E #7E2B59
triadic
#792B7E #7E792B #2B7E79
tetradic
#792B7E #7E502B #307E2B #2B597E
square
#792B7E #7E502B #307E2B #2B597E
split-complementary
#792B7E #597E2B #2B7E50
monochromatic
#210C23 #4D1B50 #792B7E #A53BAC #C15CC7

Accessibility & contrast

On white

8.54
#792B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#792B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B7E
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B7E#FFFFFF#000000##FFFFFF
##792B7E1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4680
Deuteranopia (green-blind)
#3B507C
Tritanopia (blue-blind)
#7C3750
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792b7e;
/* rgb */ color: rgb(121, 43, 126);
/* oklch */ color: oklch(43.7% 0.151 325.3);
Tailwind
colors: {
  custom: {
    50: '#a26ba4',
    500: '#792b7e',
    950: '#000000',
  },
}
SCSS
$custom: #792b7e;
$custom-light: #a26ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#792b7e",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 296.386,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43736,
    "c": 0.15101,
    "h": 325.3
  },
  "luminance": 0.07299
}

Semantic roles & 50–950 ramp

primary
#792B7E
secondary
#5DAD58
accent
#D94F57
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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