#792C7B#792C7B

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

Color values

HEX#792C7B
RGBrgb(121, 44, 123)
HSLhsl(298, 47%, 33%)
HSVhsv(298, 64%, 48%)
CMYKcmyk(1.6%, 64.2%, 0%, 51.8%)
CIE-LABlab(32.47, 44.38, -29.14)
CIE-LCHlch(32.47, 53.09, 326.71°)
OKLaboklab(43.68% 0.1227 -0.0806)
OKLCHoklch(43.68% 0.147 326.7)
XYZxyz(12.3608, 7.2972, 19.4925)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C7B #2E7B2C
analogous
#512C7B #792C7B #7B2C55
triadic
#792C7B #7B792C #2C7B79
tetradic
#792C7B #7B512C #2E7B2C #2C557B
square
#792C7B #7B512C #2E7B2C #2C557B
split-complementary
#792C7B #557B2C #2C7B51
monochromatic
#200C21 #4D1C4E #792C7B #A53CA8 #C25DC5

Accessibility & contrast

On white

8.54
#792C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#792C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C7B
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C7B#FFFFFF#000000##FFFFFF
##792C7B1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467D
Deuteranopia (green-blind)
#3D5079
Tritanopia (blue-blind)
#7C374F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792c7b;
/* rgb */ color: rgb(121, 44, 123);
/* oklch */ color: oklch(43.7% 0.147 326.7);
Tailwind
colors: {
  custom: {
    50: '#a26ba1',
    500: '#792c7b',
    950: '#000000',
  },
}
SCSS
$custom: #792c7b;
$custom-light: #a26ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#792c7b",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 298.481,
    "s": 47.305,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43677,
    "c": 0.14681,
    "h": 326.7
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#792C7B
secondary
#5AAB58
accent
#D75154
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #792C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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