#792C9F#792C9F

#792C9F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.181 H 312.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#792C9F
RGBrgb(121, 44, 159)
HSLhsl(280, 57%, 40%)
HSVhsv(280, 72%, 62%)
CMYKcmyk(23.9%, 72.3%, 0%, 37.6%)
CIE-LABlab(34.74, 51.74, -47.69)
CIE-LCHlch(34.74, 70.37, 317.33°)
OKLaboklab(46.03% 0.1214 -0.1348)
OKLCHoklch(46.03% 0.181 312)
XYZxyz(15.0427, 8.3699, 33.6173)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C9F #529F2C
analogous
#402C9F #792C9F #9F2C8B
triadic
#792C9F #9F792C #2C9F79
tetradic
#792C9F #9F402C #529F2C #2C8B9F
square
#792C9F #9F402C #529F2C #2C8B9F
split-complementary
#792C9F #8B9F2C #2C9F40
monochromatic
#30113F #551F6F #792C9F #9C3ECA #B46ED7

Accessibility & contrast

On white

7.85
#792C9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#792C9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C9F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C9F#FFFFFF#000000##FFFFFF
##792C9F1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#1E539C
Tritanopia (blue-blind)
#744563
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #792c9f;
/* rgb */ color: rgb(121, 44, 159);
/* oklch */ color: oklch(46.0% 0.181 312.0);
Tailwind
colors: {
  custom: {
    50: '#a46cbc',
    500: '#792c9f',
    950: '#000000',
  },
}
SCSS
$custom: #792c9f;
$custom-light: #a46cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#792c9f",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 280.174,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46034,
    "c": 0.18139,
    "h": 312
  },
  "luminance": 0.0837
}

Semantic roles & 50–950 ramp

primary
#792C9F
secondary
#85BE69
accent
#E0487A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #792C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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