#792D81#792D81

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

Color values

HEX#792D81
RGBrgb(121, 45, 129)
HSLhsl(294, 48%, 34%)
HSVhsv(294, 65%, 51%)
CMYKcmyk(6.2%, 65.1%, 0%, 49.4%)
CIE-LABlab(32.98, 45.08, -32.10)
CIE-LCHlch(32.98, 55.34, 324.55°)
OKLaboklab(44.15% 0.1218 -0.0892)
OKLCHoklch(44.15% 0.151 323.8)
XYZxyz(12.7856, 7.5274, 21.5441)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D81 #35812D
analogous
#4F2D81 #792D81 #812D5F
triadic
#792D81 #81792D #2D8179
tetradic
#792D81 #814F2D #35812D #2D5F81
square
#792D81 #814F2D #35812D #2D5F81
split-complementary
#792D81 #5F812D #2D814F
monochromatic
#240D26 #4E1D54 #792D81 #A43DAE #BE61C8

Accessibility & contrast

On white

8.38
#792D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#792D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D81
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D81#FFFFFF#000000##FFFFFF
##792D811.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4884
Deuteranopia (green-blind)
#3A517F
Tritanopia (blue-blind)
#7B3A53
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792d81;
/* rgb */ color: rgb(121, 45, 129);
/* oklch */ color: oklch(44.2% 0.151 323.8);
Tailwind
colors: {
  custom: {
    50: '#a26ca6',
    500: '#792d81',
    950: '#000000',
  },
}
SCSS
$custom: #792d81;
$custom-light: #a26ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#792d81",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 294.286,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44153,
    "c": 0.15091,
    "h": 323.8
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#792D81
secondary
#63AE5C
accent
#D8505D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792D81

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

Preview Lab → · Contrast checker → · Palette generator →

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