#792E90#792E90

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

Color values

HEX#792E90
RGBrgb(121, 46, 144)
HSLhsl(286, 52%, 37%)
HSVhsv(286, 68%, 56%)
CMYKcmyk(16%, 68.1%, 0%, 43.5%)
CIE-LABlab(34.05, 47.66, -39.66)
CIE-LCHlch(34.05, 62.00, 320.23°)
OKLaboklab(45.22% 0.1205 -0.1112)
OKLCHoklch(45.22% 0.164 317.3)
XYZxyz(13.8955, 8.0331, 27.1987)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E90 #45902E
analogous
#482E90 #792E90 #902E76
triadic
#792E90 #90792E #2E9079
tetradic
#792E90 #90482E #45902E #2E7690
square
#792E90 #90482E #45902E #2E7690
split-complementary
#792E90 #76902E #2E9048
monochromatic
#2B1033 #521F62 #792E90 #A03DBE #B769CF

Accessibility & contrast

On white

8.06
#792E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792E90
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E90#FFFFFF#000000##FFFFFF
##792E901.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024B93
Deuteranopia (green-blind)
#31528E
Tritanopia (blue-blind)
#78405B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792e90;
/* rgb */ color: rgb(121, 46, 144);
/* oklch */ color: oklch(45.2% 0.164 317.3);
Tailwind
colors: {
  custom: {
    50: '#a36db1',
    500: '#792e90',
    950: '#000000',
  },
}
SCSS
$custom: #792e90;
$custom-light: #a36db1;
$custom-dark: #000000;
JSON
{
  "hex": "#792e90",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 285.918,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4522,
    "c": 0.16398,
    "h": 317.3
  },
  "luminance": 0.08033
}

Semantic roles & 50–950 ramp

primary
#792E90
secondary
#77B664
accent
#DB4D6E
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792E90

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

Preview Lab → · Contrast checker → · Palette generator →

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