#792E82#792E82

#792E82 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.3% C 0.150 H 323.3°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#792E82
RGBrgb(121, 46, 130)
HSLhsl(294, 48%, 35%)
HSVhsv(294, 65%, 51%)
CMYKcmyk(6.9%, 64.6%, 0%, 49%)
CIE-LABlab(33.20, 44.81, -32.36)
CIE-LCHlch(33.20, 55.28, 324.16°)
OKLaboklab(44.33% 0.1205 -0.0899)
OKLCHoklch(44.33% 0.15 323.3)
XYZxyz(12.8910, 7.6313, 21.9088)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E82 #37822E
analogous
#4F2E82 #792E82 #822E61
triadic
#792E82 #82792E #2E8279
tetradic
#792E82 #824F2E #37822E #2E6182
square
#792E82 #824F2E #37822E #2E6182
split-complementary
#792E82 #61822E #2E824F
monochromatic
#250E28 #4F1E55 #792E82 #A33EAF #BD63C8

Accessibility & contrast

On white

8.31
#792E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#792E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E82
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E82#FFFFFF#000000##FFFFFF
##792E821.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4885
Deuteranopia (green-blind)
#3A5180
Tritanopia (blue-blind)
#7B3B54
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792e82;
/* rgb */ color: rgb(121, 46, 130);
/* oklch */ color: oklch(44.3% 0.150 323.3);
Tailwind
colors: {
  custom: {
    50: '#a26ca7',
    500: '#792e82',
    950: '#000000',
  },
}
SCSS
$custom: #792e82;
$custom-light: #a26ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#792e82",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 293.571,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44334,
    "c": 0.15039,
    "h": 323.3
  },
  "luminance": 0.07631
}

Semantic roles & 50–950 ramp

primary
#792E82
secondary
#66AE5D
accent
#D7505F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792E82

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

Preview Lab → · Contrast checker → · Palette generator →

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