#792C7E#792C7E

#792C7E is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.150 H 325.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#792C7E
RGBrgb(121, 44, 126)
HSLhsl(296, 48%, 33%)
HSVhsv(296, 65%, 49%)
CMYKcmyk(4%, 65.1%, 0%, 50.6%)
CIE-LABlab(32.64, 44.95, -30.76)
CIE-LCHlch(32.64, 54.47, 325.62°)
OKLaboklab(43.85% 0.1229 -0.0853)
OKLCHoklch(43.85% 0.15 325.2)
XYZxyz(12.5514, 7.3734, 20.4967)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C7E #317E2C
analogous
#502C7E #792C7E #7E2C5A
triadic
#792C7E #7E792C #2C7E79
tetradic
#792C7E #7E502C #317E2C #2C5A7E
square
#792C7E #7E502C #317E2C #2C5A7E
split-complementary
#792C7E #5A7E2C #2C7E50
monochromatic
#220C23 #4D1C51 #792C7E #A53CAB #C05EC7

Accessibility & contrast

On white

8.49
#792C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792C7E
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C7E#FFFFFF#000000##FFFFFF
##792C7E1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4780
Deuteranopia (green-blind)
#3B507C
Tritanopia (blue-blind)
#7C3851
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792c7e;
/* rgb */ color: rgb(121, 44, 126);
/* oklch */ color: oklch(43.9% 0.150 325.2);
Tailwind
colors: {
  custom: {
    50: '#a26ba4',
    500: '#792c7e',
    950: '#000000',
  },
}
SCSS
$custom: #792c7e;
$custom-light: #a26ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#792c7e",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 296.341,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43854,
    "c": 0.14957,
    "h": 325.2
  },
  "luminance": 0.07373
}

Semantic roles & 50–950 ramp

primary
#792C7E
secondary
#5EAD59
accent
#D85058
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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