#792F8F#792F8F

#792F8F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.3% C 0.162 H 317.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#792F8F
RGBrgb(121, 47, 143)
HSLhsl(286, 51%, 37%)
HSVhsv(286, 67%, 56%)
CMYKcmyk(15.4%, 67.1%, 0%, 43.9%)
CIE-LABlab(34.15, 46.99, -38.89)
CIE-LCHlch(34.15, 61.00, 320.39°)
OKLaboklab(45.27% 0.1193 -0.109)
OKLCHoklch(45.27% 0.162 317.6)
XYZxyz(13.8589, 8.0817, 26.8112)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F8F #458F2F
analogous
#492F8F #792F8F #8F2F75
triadic
#792F8F #8F792F #2F8F79
tetradic
#792F8F #8F492F #458F2F #2F758F
square
#792F8F #8F492F #458F2F #2F758F
split-complementary
#792F8F #758F2F #2F8F49
monochromatic
#2B1133 #522061 #792F8F #A03EBD #B76ACE

Accessibility & contrast

On white

8.03
#792F8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#792F8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F8F
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F8F#FFFFFF#000000##FFFFFF
##792F8F1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094C92
Deuteranopia (green-blind)
#32538D
Tritanopia (blue-blind)
#78405B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792f8f;
/* rgb */ color: rgb(121, 47, 143);
/* oklch */ color: oklch(45.3% 0.162 317.6);
Tailwind
colors: {
  custom: {
    50: '#a36db0',
    500: '#792f8f',
    950: '#000000',
  },
}
SCSS
$custom: #792f8f;
$custom-light: #a36db0;
$custom-dark: #000000;
JSON
{
  "hex": "#792f8f",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 286.25,
    "s": 50.526,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.16161,
    "h": 317.6
  },
  "luminance": 0.08081
}

Semantic roles & 50–950 ramp

primary
#792F8F
secondary
#77B565
accent
#DA4E6E
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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