#792E92#792E92

#792E92 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.166 H 316.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#792E92
RGBrgb(121, 46, 146)
HSLhsl(285, 52%, 38%)
HSVhsv(285, 68%, 57%)
CMYKcmyk(17.1%, 68.5%, 0%, 42.7%)
CIE-LABlab(34.18, 48.08, -40.68)
CIE-LCHlch(34.18, 62.98, 319.76°)
OKLaboklab(45.35% 0.1204 -0.1142)
OKLCHoklch(45.35% 0.166 316.5)
XYZxyz(14.0497, 8.0948, 28.0109)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E92 #47922E
analogous
#472E92 #792E92 #922E79
triadic
#792E92 #92792E #2E9279
tetradic
#792E92 #92472E #47922E #2E7992
square
#792E92 #92472E #47922E #2E7992
split-complementary
#792E92 #79922E #2E9247
monochromatic
#2C1135 #521F63 #792E92 #A03DC1 #B76AD0

Accessibility & contrast

On white

8.02
#792E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#792E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E92
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E92#FFFFFF#000000##FFFFFF
##792E921.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#2F5390
Tritanopia (blue-blind)
#78415C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792e92;
/* rgb */ color: rgb(121, 46, 146);
/* oklch */ color: oklch(45.4% 0.166 316.5);
Tailwind
colors: {
  custom: {
    50: '#a36db2',
    500: '#792e92',
    950: '#000000',
  },
}
SCSS
$custom: #792e92;
$custom-light: #a36db2;
$custom-dark: #000000;
JSON
{
  "hex": "#792e92",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 285,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45353,
    "c": 0.16596,
    "h": 316.5
  },
  "luminance": 0.08094
}

Semantic roles & 50–950 ramp

primary
#792E92
secondary
#79B765
accent
#DC4C70
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792E92

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

Preview Lab → · Contrast checker → · Palette generator →

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