#792B7B#792B7B

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

Color values

HEX#792B7B
RGBrgb(121, 43, 123)
HSLhsl(299, 48%, 33%)
HSVhsv(299, 65%, 48%)
CMYKcmyk(1.6%, 65%, 0%, 51.8%)
CIE-LABlab(32.31, 44.84, -29.40)
CIE-LCHlch(32.31, 53.62, 326.74°)
OKLaboklab(43.56% 0.124 -0.0813)
OKLCHoklch(43.56% 0.148 326.7)
XYZxyz(12.3240, 7.2235, 19.4802)
Luminance0.0722 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B7B #2D7B2B
analogous
#512B7B #792B7B #7B2B55
triadic
#792B7B #7B792B #2B7B79
tetradic
#792B7B #7B512B #2D7B2B #2B557B
square
#792B7B #7B512B #2D7B2B #2B557B
split-complementary
#792B7B #557B2B #2B7B51
monochromatic
#200B20 #4C1B4E #792B7B #A63BA8 #C35BC6

Accessibility & contrast

On white

8.59
#792B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792B7B
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B7B#FFFFFF#000000##FFFFFF
##792B7B1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F467D
Deuteranopia (green-blind)
#3C4F79
Tritanopia (blue-blind)
#7C364F
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792b7b;
/* rgb */ color: rgb(121, 43, 123);
/* oklch */ color: oklch(43.6% 0.148 326.7);
Tailwind
colors: {
  custom: {
    50: '#a26aa1',
    500: '#792b7b',
    950: '#000000',
  },
}
SCSS
$custom: #792b7b;
$custom-light: #a26aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#792b7b",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 123
  },
  "hsl": {
    "h": 298.5,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43559,
    "c": 0.14828,
    "h": 326.7
  },
  "luminance": 0.07223
}

Semantic roles & 50–950 ramp

primary
#792B7B
secondary
#58AB56
accent
#D85053
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #792B7B

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

Preview Lab → · Contrast checker → · Palette generator →

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