#792A7D#792A7D

#792A7D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.152 H 325.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#792A7D
RGBrgb(121, 42, 125)
HSLhsl(297, 50%, 33%)
HSVhsv(297, 66%, 49%)
CMYKcmyk(3.2%, 66.4%, 0%, 51%)
CIE-LABlab(32.26, 45.66, -30.73)
CIE-LCHlch(32.26, 55.04, 326.06°)
OKLaboklab(43.56% 0.1253 -0.0852)
OKLCHoklch(43.56% 0.152 325.8)
XYZxyz(12.4145, 7.2023, 20.1344)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A7D #2E7D2A
analogous
#4F2A7D #792A7D #7D2A58
triadic
#792A7D #7D792A #2A7D79
tetradic
#792A7D #7D4F2A #2E7D2A #2A587D
square
#792A7D #7D4F2A #2E7D2A #2A587D
split-complementary
#792A7D #587D2A #2A7D4F
monochromatic
#200B21 #4D1B4F #792A7D #A539AB #C25AC8

Accessibility & contrast

On white

8.61
#792A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#792A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A7D
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A7D#FFFFFF#000000##FFFFFF
##792A7D1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C467F
Deuteranopia (green-blind)
#3B4F7B
Tritanopia (blue-blind)
#7C3650
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792a7d;
/* rgb */ color: rgb(121, 42, 125);
/* oklch */ color: oklch(43.6% 0.152 325.8);
Tailwind
colors: {
  custom: {
    50: '#a26aa3',
    500: '#792a7d',
    950: '#000000',
  },
}
SCSS
$custom: #792a7d;
$custom-light: #a26aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#792a7d",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 297.108,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43561,
    "c": 0.15154,
    "h": 325.8
  },
  "luminance": 0.07202
}

Semantic roles & 50–950 ramp

primary
#792A7D
secondary
#5AAD56
accent
#D94F55
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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