#792F99#792F99

#792F99 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.172 H 313.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#792F99
RGBrgb(121, 47, 153)
HSLhsl(282, 53%, 39%)
HSVhsv(282, 69%, 60%)
CMYKcmyk(20.9%, 69.3%, 0%, 40%)
CIE-LABlab(34.80, 49.13, -43.96)
CIE-LCHlch(34.80, 65.92, 318.18°)
OKLaboklab(45.94% 0.1188 -0.1238)
OKLCHoklch(45.94% 0.172 313.8)
XYZxyz(14.6505, 8.3983, 30.9801)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F99 #4F992F
analogous
#442F99 #792F99 #992F84
triadic
#792F99 #99792F #2F9979
tetradic
#792F99 #99442F #4F992F #2F8499
square
#792F99 #99442F #4F992F #2F8499
split-complementary
#792F99 #84992F #2F9944
monochromatic
#2F123B #54216A #792F99 #9D41C5 #B56FD3

Accessibility & contrast

On white

7.84
#792F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#792F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F99
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F99#FFFFFF#000000##FFFFFF
##792F991.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#295497
Tritanopia (blue-blind)
#764460
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #792f99;
/* rgb */ color: rgb(121, 47, 153);
/* oklch */ color: oklch(45.9% 0.172 313.8);
Tailwind
colors: {
  custom: {
    50: '#a36eb8',
    500: '#792f99',
    950: '#000000',
  },
}
SCSS
$custom: #792f99;
$custom-light: #a36eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#792f99",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 281.887,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45944,
    "c": 0.1716,
    "h": 313.8
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#792F99
secondary
#82BA69
accent
#DC4B77
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792F99

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

Preview Lab → · Contrast checker → · Palette generator →

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