#792C81#792C81

#792C81 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.0% C 0.152 H 323.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#792C81
RGBrgb(121, 44, 129)
HSLhsl(294, 49%, 34%)
HSVhsv(294, 66%, 51%)
CMYKcmyk(6.2%, 65.9%, 0%, 49.4%)
CIE-LABlab(32.81, 45.53, -32.36)
CIE-LCHlch(32.81, 55.86, 324.60°)
OKLaboklab(44.03% 0.123 -0.0899)
OKLCHoklch(44.03% 0.152 323.8)
XYZxyz(12.7479, 7.4520, 21.5315)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C81 #34812C
analogous
#4F2C81 #792C81 #812C5F
triadic
#792C81 #81792C #2C8179
tetradic
#792C81 #814F2C #34812C #2C5F81
square
#792C81 #814F2C #34812C #2C5F81
split-complementary
#792C81 #5F812C #2C814F
monochromatic
#230D26 #4E1C53 #792C81 #A43CAF #BE5FC8

Accessibility & contrast

On white

8.43
#792C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#792C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C81
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C81#FFFFFF#000000##FFFFFF
##792C811.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4784
Deuteranopia (green-blind)
#3A507F
Tritanopia (blue-blind)
#7B3952
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792c81;
/* rgb */ color: rgb(121, 44, 129);
/* oklch */ color: oklch(44.0% 0.152 323.8);
Tailwind
colors: {
  custom: {
    50: '#a26ba6',
    500: '#792c81',
    950: '#000000',
  },
}
SCSS
$custom: #792c81;
$custom-light: #a26ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#792c81",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 294.353,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44034,
    "c": 0.15237,
    "h": 323.8
  },
  "luminance": 0.07451
}

Semantic roles & 50–950 ramp

primary
#792C81
secondary
#62AF5A
accent
#D94F5C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792C81

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

Preview Lab → · Contrast checker → · Palette generator →

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