#792E99#792E99

#792E99 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.8% C 0.173 H 313.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#792E99
RGBrgb(121, 46, 153)
HSLhsl(282, 54%, 39%)
HSVhsv(282, 70%, 60%)
CMYKcmyk(20.9%, 69.9%, 0%, 40%)
CIE-LABlab(34.64, 49.57, -44.22)
CIE-LCHlch(34.64, 66.43, 318.27°)
OKLaboklab(45.83% 0.1199 -0.1246)
OKLCHoklch(45.83% 0.173 313.9)
XYZxyz(14.6109, 8.3193, 30.9669)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E99 #4E992E
analogous
#442E99 #792E99 #992E84
triadic
#792E99 #99792E #2E9979
tetradic
#792E99 #99442E #4E992E #2E8499
square
#792E99 #99442E #4E992E #2E8499
split-complementary
#792E99 #84992E #2E9944
monochromatic
#2F123B #54206A #792E99 #9D3FC5 #B56ED3

Accessibility & contrast

On white

7.88
#792E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#792E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E99
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E99#FFFFFF#000000##FFFFFF
##792E991.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#285397
Tritanopia (blue-blind)
#764460
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #792e99;
/* rgb */ color: rgb(121, 46, 153);
/* oklch */ color: oklch(45.8% 0.173 313.9);
Tailwind
colors: {
  custom: {
    50: '#a36db8',
    500: '#792e99',
    950: '#000000',
  },
}
SCSS
$custom: #792e99;
$custom-light: #a36db8;
$custom-dark: #000000;
JSON
{
  "hex": "#792e99",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 282.056,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4583,
    "c": 0.17291,
    "h": 313.9
  },
  "luminance": 0.08319
}

Semantic roles & 50–950 ramp

primary
#792E99
secondary
#81BB68
accent
#DD4B76
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792E99

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

Preview Lab → · Contrast checker → · Palette generator →

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