#792A7F#792A7F

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

Color values

HEX#792A7F
RGBrgb(121, 42, 127)
HSLhsl(296, 50%, 33%)
HSVhsv(296, 67%, 50%)
CMYKcmyk(4.7%, 66.9%, 0%, 50.2%)
CIE-LABlab(32.38, 46.04, -31.80)
CIE-LCHlch(32.38, 55.95, 325.37°)
OKLaboklab(43.68% 0.1254 -0.0883)
OKLCHoklch(43.68% 0.153 324.9)
XYZxyz(12.5436, 7.2539, 20.8140)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A7F #307F2A
analogous
#4E2A7F #792A7F #7F2A5A
triadic
#792A7F #7F792A #2A7F79
tetradic
#792A7F #7F4E2A #307F2A #2A5A7F
square
#792A7F #7F4E2A #307F2A #2A5A7F
split-complementary
#792A7F #5A7F2A #2A7F4E
monochromatic
#210C23 #4D1B51 #792A7F #A539AD #C15BC9

Accessibility & contrast

On white

8.57
#792A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#792A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A7F
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A7F#FFFFFF#000000##FFFFFF
##792A7F1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194682
Deuteranopia (green-blind)
#3A4F7D
Tritanopia (blue-blind)
#7C3751
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792a7f;
/* rgb */ color: rgb(121, 42, 127);
/* oklch */ color: oklch(43.7% 0.153 324.9);
Tailwind
colors: {
  custom: {
    50: '#a26aa4',
    500: '#792a7f',
    950: '#000000',
  },
}
SCSS
$custom: #792a7f;
$custom-light: #a26aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#792a7f",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 295.765,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43681,
    "c": 0.15336,
    "h": 324.9
  },
  "luminance": 0.07253
}

Semantic roles & 50–950 ramp

primary
#792A7F
secondary
#5DAE57
accent
#DA4E58
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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