#792C7D#792C7D

#792C7D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.149 H 325.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#792C7D
RGBrgb(121, 44, 125)
HSLhsl(297, 48%, 33%)
HSVhsv(297, 65%, 49%)
CMYKcmyk(3.2%, 64.8%, 0%, 51%)
CIE-LABlab(32.59, 44.76, -30.22)
CIE-LCHlch(32.59, 54.01, 325.97°)
OKLaboklab(43.79% 0.1228 -0.0837)
OKLCHoklch(43.79% 0.149 325.7)
XYZxyz(12.4872, 7.3477, 20.1586)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C7D #307D2C
analogous
#502C7D #792C7D #7D2C58
triadic
#792C7D #7D792C #2C7D79
tetradic
#792C7D #7D502C #307D2C #2C587D
square
#792C7D #7D502C #307D2C #2C587D
split-complementary
#792C7D #587D2C #2C7D50
monochromatic
#210C22 #4D1C50 #792C7D #A53CAA #C15DC6

Accessibility & contrast

On white

8.50
#792C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#792C7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C7D
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C7D#FFFFFF#000000##FFFFFF
##792C7D1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467F
Deuteranopia (green-blind)
#3C507B
Tritanopia (blue-blind)
#7C3750
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792c7d;
/* rgb */ color: rgb(121, 44, 125);
/* oklch */ color: oklch(43.8% 0.149 325.7);
Tailwind
colors: {
  custom: {
    50: '#a26ba3',
    500: '#792c7d',
    950: '#000000',
  },
}
SCSS
$custom: #792c7d;
$custom-light: #a26ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#792c7d",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 297.037,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43794,
    "c": 0.14865,
    "h": 325.7
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#792C7D
secondary
#5DAC59
accent
#D85057
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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