#792B7F#792B7F

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

Color values

HEX#792B7F
RGBrgb(121, 43, 127)
HSLhsl(296, 49%, 33%)
HSVhsv(296, 66%, 50%)
CMYKcmyk(4.7%, 66.1%, 0%, 50.2%)
CIE-LABlab(32.54, 45.59, -31.55)
CIE-LCHlch(32.54, 55.44, 325.32°)
OKLaboklab(43.8% 0.1242 -0.0875)
OKLCHoklch(43.8% 0.152 324.8)
XYZxyz(12.5795, 7.3258, 20.8260)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B7F #317F2B
analogous
#4F2B7F #792B7F #7F2B5B
triadic
#792B7F #7F792B #2B7F79
tetradic
#792B7F #7F4F2B #317F2B #2B5B7F
square
#792B7F #7F4F2B #317F2B #2B5B7F
split-complementary
#792B7F #5B7F2B #2B7F4F
monochromatic
#220C24 #4D1C51 #792B7F #A53AAD #C05CC8

Accessibility & contrast

On white

8.52
#792B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792B7F
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B7F#FFFFFF#000000##FFFFFF
##792B7F1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4681
Deuteranopia (green-blind)
#3A507D
Tritanopia (blue-blind)
#7C3751
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792b7f;
/* rgb */ color: rgb(121, 43, 127);
/* oklch */ color: oklch(43.8% 0.152 324.8);
Tailwind
colors: {
  custom: {
    50: '#a26ba4',
    500: '#792b7f',
    950: '#000000',
  },
}
SCSS
$custom: #792b7f;
$custom-light: #a26ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#792b7f",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 127
  },
  "hsl": {
    "h": 295.714,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43796,
    "c": 0.15194,
    "h": 324.8
  },
  "luminance": 0.07325
}

Semantic roles & 50–950 ramp

primary
#792B7F
secondary
#5EAE58
accent
#D94F59
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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