#792D91#792D91

#792D91 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.166 H 317.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#792D91
RGBrgb(121, 45, 145)
HSLhsl(286, 53%, 37%)
HSVhsv(286, 69%, 57%)
CMYKcmyk(16.6%, 69%, 0%, 43.1%)
CIE-LABlab(33.95, 48.32, -40.43)
CIE-LCHlch(33.95, 63.00, 320.08°)
OKLaboklab(45.17% 0.1216 -0.1135)
OKLCHoklch(45.17% 0.166 317)
XYZxyz(13.9336, 7.9866, 27.5902)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D91 #45912D
analogous
#472D91 #792D91 #912D77
triadic
#792D91 #91792D #2D9179
tetradic
#792D91 #91472D #45912D #2D7791
square
#792D91 #91472D #45912D #2D7791
split-complementary
#792D91 #77912D #2D9147
monochromatic
#2B1034 #521F62 #792D91 #A03BC0 #B768D0

Accessibility & contrast

On white

8.09
#792D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#792D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D91
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D91#FFFFFF#000000##FFFFFF
##792D911.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#2F528F
Tritanopia (blue-blind)
#78405B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792d91;
/* rgb */ color: rgb(121, 45, 145);
/* oklch */ color: oklch(45.2% 0.166 317.0);
Tailwind
colors: {
  custom: {
    50: '#a36cb2',
    500: '#792d91',
    950: '#000000',
  },
}
SCSS
$custom: #792d91;
$custom-light: #a36cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#792d91",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 285.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45171,
    "c": 0.16633,
    "h": 317
  },
  "luminance": 0.07986
}

Semantic roles & 50–950 ramp

primary
#792D91
secondary
#77B763
accent
#DC4C6E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792D91

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

Preview Lab → · Contrast checker → · Palette generator →

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