#792D92#792D92

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

Color values

HEX#792D92
RGBrgb(121, 45, 146)
HSLhsl(285, 53%, 37%)
HSVhsv(285, 69%, 57%)
CMYKcmyk(17.1%, 69.2%, 0%, 42.7%)
CIE-LABlab(34.02, 48.53, -40.94)
CIE-LCHlch(34.02, 63.49, 319.85°)
OKLaboklab(45.24% 0.1216 -0.115)
OKLCHoklch(45.24% 0.167 316.6)
XYZxyz(14.0111, 8.0176, 27.9981)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D92 #46922D
analogous
#472D92 #792D92 #922D78
triadic
#792D92 #92792D #2D9279
tetradic
#792D92 #92472D #46922D #2D7892
square
#792D92 #92472D #46922D #2D7892
split-complementary
#792D92 #78922D #2D9247
monochromatic
#2B1034 #521F63 #792D92 #A03BC1 #B769D1

Accessibility & contrast

On white

8.07
#792D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792D92
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D92#FFFFFF#000000##FFFFFF
##792D921.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#2E5290
Tritanopia (blue-blind)
#78405C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792d92;
/* rgb */ color: rgb(121, 45, 146);
/* oklch */ color: oklch(45.2% 0.167 316.6);
Tailwind
colors: {
  custom: {
    50: '#a36cb2',
    500: '#792d92',
    950: '#000000',
  },
}
SCSS
$custom: #792d92;
$custom-light: #a36cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#792d92",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 285.149,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45238,
    "c": 0.16732,
    "h": 316.6
  },
  "luminance": 0.08017
}

Semantic roles & 50–950 ramp

primary
#792D92
secondary
#78B763
accent
#DC4C6F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792D92

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

Preview Lab → · Contrast checker → · Palette generator →

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