#792E85#792E85

#792E85 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.153 H 321.9°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#792E85
RGBrgb(121, 46, 133)
HSLhsl(292, 49%, 35%)
HSVhsv(292, 65%, 52%)
CMYKcmyk(9%, 65.4%, 0%, 47.8%)
CIE-LABlab(33.38, 45.41, -33.95)
CIE-LCHlch(33.38, 56.70, 323.21°)
OKLaboklab(44.52% 0.1206 -0.0946)
OKLCHoklch(44.52% 0.153 321.9)
XYZxyz(13.0953, 7.7131, 22.9847)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E85 #3A852E
analogous
#4D2E85 #792E85 #852E65
triadic
#792E85 #85792E #2E8579
tetradic
#792E85 #854D2E #3A852E #2E6585
square
#792E85 #854D2E #3A852E #2E6585
split-complementary
#792E85 #65852E #2E854D
monochromatic
#260F2A #501E58 #792E85 #A23EB2 #BB64C9

Accessibility & contrast

On white

8.26
#792E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#792E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E85
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E85#FFFFFF#000000##FFFFFF
##792E851.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194988
Deuteranopia (green-blind)
#395183
Tritanopia (blue-blind)
#7A3C55
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792e85;
/* rgb */ color: rgb(121, 46, 133);
/* oklch */ color: oklch(44.5% 0.153 321.9);
Tailwind
colors: {
  custom: {
    50: '#a26ca9',
    500: '#792e85',
    950: '#000000',
  },
}
SCSS
$custom: #792e85;
$custom-light: #a26ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#792e85",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 291.724,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44517,
    "c": 0.15327,
    "h": 321.9
  },
  "luminance": 0.07712
}

Semantic roles & 50–950 ramp

primary
#792E85
secondary
#6AB05F
accent
#D85062
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792E85

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

Preview Lab → · Contrast checker → · Palette generator →

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