#792C83#792C83

#792C83 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.154 H 322.9°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#792C83
RGBrgb(121, 44, 131)
HSLhsl(293, 50%, 34%)
HSVhsv(293, 66%, 51%)
CMYKcmyk(7.6%, 66.4%, 0%, 48.6%)
CIE-LABlab(32.93, 45.92, -33.42)
CIE-LCHlch(32.93, 56.79, 323.96°)
OKLaboklab(44.16% 0.1231 -0.093)
OKLCHoklch(44.16% 0.154 322.9)
XYZxyz(12.8822, 7.5057, 22.2385)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C83 #36832C
analogous
#4E2C83 #792C83 #832C62
triadic
#792C83 #83792C #2C8379
tetradic
#792C83 #834E2C #36832C #2C6283
square
#792C83 #834E2C #36832C #2C6283
split-complementary
#792C83 #62832C #2C834E
monochromatic
#240D27 #4F1D55 #792C83 #A33BB1 #BD60CA

Accessibility & contrast

On white

8.40
#792C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#792C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C83
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C83#FFFFFF#000000##FFFFFF
##792C831.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184886
Deuteranopia (green-blind)
#385181
Tritanopia (blue-blind)
#7B3A53
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792c83;
/* rgb */ color: rgb(121, 44, 131);
/* oklch */ color: oklch(44.2% 0.154 322.9);
Tailwind
colors: {
  custom: {
    50: '#a26ba7',
    500: '#792c83',
    950: '#000000',
  },
}
SCSS
$custom: #792c83;
$custom-light: #a26ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#792c83",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 131
  },
  "hsl": {
    "h": 293.103,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44157,
    "c": 0.15424,
    "h": 322.9
  },
  "luminance": 0.07505
}

Semantic roles & 50–950 ramp

primary
#792C83
secondary
#65B05B
accent
#D94F5F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792C83

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

Preview Lab → · Contrast checker → · Palette generator →

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