#792F82#792F82

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

Color values

HEX#792F82
RGBrgb(121, 47, 130)
HSLhsl(293, 47%, 35%)
HSVhsv(293, 64%, 51%)
CMYKcmyk(6.9%, 63.8%, 0%, 49%)
CIE-LABlab(33.37, 44.34, -32.10)
CIE-LCHlch(33.37, 54.74, 324.10°)
OKLaboklab(44.46% 0.1193 -0.0892)
OKLCHoklch(44.46% 0.149 323.2)
XYZxyz(12.9306, 7.7104, 21.9219)
Luminance0.0771 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F82 #38822F
analogous
#502F82 #792F82 #822F62
triadic
#792F82 #82792F #2F8279
tetradic
#792F82 #82502F #38822F #2F6282
square
#792F82 #82502F #38822F #2F6282
split-complementary
#792F82 #62822F #2F8250
monochromatic
#250E28 #4F1F55 #792F82 #A33FAF #BC64C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##792F82#FFFFFF#000000##FFFFFF
##792F821.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)
#1E4985
Deuteranopia (green-blind)
#3B5180
Tritanopia (blue-blind)
#7B3B54
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792f82;
/* rgb */ color: rgb(121, 47, 130);
/* oklch */ color: oklch(44.5% 0.149 323.2);
Tailwind
colors: {
  custom: {
    50: '#a26da7',
    500: '#792f82',
    950: '#000000',
  },
}
SCSS
$custom: #792f82;
$custom-light: #a26da7;
$custom-dark: #000000;
JSON
{
  "hex": "#792f82",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 293.494,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44457,
    "c": 0.1489,
    "h": 323.2
  },
  "luminance": 0.0771
}

Semantic roles & 50–950 ramp

primary
#792F82
secondary
#67AE5F
accent
#D75160
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792F82

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

Preview Lab → · Contrast checker → · Palette generator →

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