#792B77#792B77

#792B77 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.3% C 0.145 H 328.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#792B77
RGBrgb(121, 43, 119)
HSLhsl(302, 48%, 32%)
HSVhsv(302, 64%, 47%)
CMYKcmyk(0%, 64.5%, 1.7%, 52.5%)
CIE-LABlab(32.09, 44.09, -27.23)
CIE-LCHlch(32.09, 51.82, 328.30°)
OKLaboklab(43.33% 0.1237 -0.075)
OKLCHoklch(43.33% 0.145 328.8)
XYZxyz(12.0787, 7.1254, 18.1883)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B77 #2B792D
analogous
#542B79 #792B77 #792B50
triadic
#792B77 #77792B #2B7779
tetradic
#792B77 #79542B #2B792D #2B5079
square
#792B77 #79542B #2B792D #2B5079
split-complementary
#792B77 #50792B #2B7954
monochromatic
#1F0B1E #4C1B4B #792B77 #A63BA3 #C45AC2

Accessibility & contrast

On white

8.66
#792B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#792B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B77
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B77#FFFFFF#000000##FFFFFF
##792B771.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234579
Deuteranopia (green-blind)
#3F4F75
Tritanopia (blue-blind)
#7D344D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792b77;
/* rgb */ color: rgb(121, 43, 119);
/* oklch */ color: oklch(43.3% 0.145 328.8);
Tailwind
colors: {
  custom: {
    50: '#a26a9e',
    500: '#792b77',
    950: '#000000',
  },
}
SCSS
$custom: #792b77;
$custom-light: #a26a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#792b77",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 301.538,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.43328,
    "c": 0.14468,
    "h": 328.8
  },
  "luminance": 0.07125
}

Semantic roles & 50–950 ramp

primary
#792B77
secondary
#56AA58
accent
#D75451
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792B77

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

Preview Lab → · Contrast checker → · Palette generator →

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