#792F96#792F96

#792F96 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.7% C 0.169 H 314.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#792F96
RGBrgb(121, 47, 150)
HSLhsl(283, 52%, 39%)
HSVhsv(283, 69%, 59%)
CMYKcmyk(19.3%, 68.7%, 0%, 41.2%)
CIE-LABlab(34.60, 48.48, -42.45)
CIE-LCHlch(34.60, 64.44, 318.79°)
OKLaboklab(45.74% 0.119 -0.1194)
OKLCHoklch(45.74% 0.169 314.9)
XYZxyz(14.4058, 8.3005, 29.6916)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F96 #4C962F
analogous
#452F96 #792F96 #962F7F
triadic
#792F96 #96792F #2F9679
tetradic
#792F96 #96452F #4C962F #2F7F96
square
#792F96 #96452F #4C962F #2F7F96
split-complementary
#792F96 #7F962F #2F9645
monochromatic
#2E1239 #532067 #792F96 #9E3FC3 #B56ED2

Accessibility & contrast

On white

7.89
#792F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792F96
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F96#FFFFFF#000000##FFFFFF
##792F961.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#2C5394
Tritanopia (blue-blind)
#77435F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #792f96;
/* rgb */ color: rgb(121, 47, 150);
/* oklch */ color: oklch(45.7% 0.169 314.9);
Tailwind
colors: {
  custom: {
    50: '#a36eb5',
    500: '#792f96',
    950: '#000000',
  },
}
SCSS
$custom: #792f96;
$custom-light: #a36eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#792f96",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 283.107,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45739,
    "c": 0.16859,
    "h": 314.9
  },
  "luminance": 0.083
}

Semantic roles & 50–950 ramp

primary
#792F96
secondary
#7FB968
accent
#DC4C75
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792F96

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

Preview Lab → · Contrast checker → · Palette generator →

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