#792E77#792E77

#792E77 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.7% C 0.140 H 328.7°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#792E77
RGBrgb(121, 46, 119)
HSLhsl(302, 45%, 33%)
HSVhsv(302, 62%, 47%)
CMYKcmyk(0%, 62%, 1.7%, 52.5%)
CIE-LABlab(32.59, 42.70, -26.44)
CIE-LCHlch(32.59, 50.23, 328.24°)
OKLaboklab(43.69% 0.1198 -0.0728)
OKLCHoklch(43.69% 0.14 328.7)
XYZxyz(12.1918, 7.3516, 18.2260)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E77 #2E7930
analogous
#552E79 #792E77 #792E51
triadic
#792E77 #77792E #2E7779
tetradic
#792E77 #79552E #2E7930 #2E5179
square
#792E77 #79552E #2E7930 #2E5179
split-complementary
#792E77 #51792E #2E7955
monochromatic
#200C20 #4D1D4B #792E77 #A53FA3 #C25FC0

Accessibility & contrast

On white

8.50
#792E77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792E77
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E77#FFFFFF#000000##FFFFFF
##792E771.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274679
Deuteranopia (green-blind)
#405075
Tritanopia (blue-blind)
#7D374E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792e77;
/* rgb */ color: rgb(121, 46, 119);
/* oklch */ color: oklch(43.7% 0.140 328.7);
Tailwind
colors: {
  custom: {
    50: '#a26c9e',
    500: '#792e77',
    950: '#000000',
  },
}
SCSS
$custom: #792e77;
$custom-light: #a26c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#792e77",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 119
  },
  "hsl": {
    "h": 301.6,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.14014,
    "h": 328.7
  },
  "luminance": 0.07351
}

Semantic roles & 50–950 ramp

primary
#792E77
secondary
#5AA95C
accent
#D55753
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792E77

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

Preview Lab → · Contrast checker → · Palette generator →

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