#792E91#792E91

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

Color values

HEX#792E91
RGBrgb(121, 46, 145)
HSLhsl(285, 52%, 37%)
HSVhsv(285, 68%, 57%)
CMYKcmyk(16.6%, 68.3%, 0%, 43.1%)
CIE-LABlab(34.12, 47.87, -40.17)
CIE-LCHlch(34.12, 62.49, 320.00°)
OKLaboklab(45.29% 0.1205 -0.1127)
OKLCHoklch(45.29% 0.165 316.9)
XYZxyz(13.9722, 8.0638, 27.6031)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E91 #46912E
analogous
#482E91 #792E91 #912E77
triadic
#792E91 #91792E #2E9179
tetradic
#792E91 #91482E #46912E #2E7791
square
#792E91 #91482E #46912E #2E7791
split-complementary
#792E91 #77912E #2E9148
monochromatic
#2B1134 #521F63 #792E91 #A03DBF #B76AD0

Accessibility & contrast

On white

8.04
#792E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#792E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E91
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E91#FFFFFF#000000##FFFFFF
##792E911.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C94
Deuteranopia (green-blind)
#30528F
Tritanopia (blue-blind)
#78415C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792e91;
/* rgb */ color: rgb(121, 46, 145);
/* oklch */ color: oklch(45.3% 0.165 316.9);
Tailwind
colors: {
  custom: {
    50: '#a36db2',
    500: '#792e91',
    950: '#000000',
  },
}
SCSS
$custom: #792e91;
$custom-light: #a36db2;
$custom-dark: #000000;
JSON
{
  "hex": "#792e91",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 285.455,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45286,
    "c": 0.16497,
    "h": 316.9
  },
  "luminance": 0.08063
}

Semantic roles & 50–950 ramp

primary
#792E91
secondary
#78B764
accent
#DB4D6F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792E91

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

Preview Lab → · Contrast checker → · Palette generator →

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