#792E8E#792E8E

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

Color values

HEX#792E8E
RGBrgb(121, 46, 142)
HSLhsl(287, 51%, 37%)
HSVhsv(287, 68%, 56%)
CMYKcmyk(14.8%, 67.6%, 0%, 44.3%)
CIE-LABlab(33.93, 47.24, -38.64)
CIE-LCHlch(33.93, 61.03, 320.72°)
OKLaboklab(45.09% 0.1206 -0.1082)
OKLCHoklch(45.09% 0.162 318.1)
XYZxyz(13.7440, 7.9725, 26.4008)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E8E #438E2E
analogous
#492E8E #792E8E #8E2E73
triadic
#792E8E #8E792E #2E8E79
tetradic
#792E8E #8E492E #438E2E #2E738E
square
#792E8E #8E492E #438E2E #2E738E
split-complementary
#792E8E #738E2E #2E8E49
monochromatic
#2A1032 #521F60 #792E8E #A03DBC #B868CE

Accessibility & contrast

On white

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

On black

2.59
#792E8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##792E8E#FFFFFF#000000##FFFFFF
##792E8E1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084B91
Deuteranopia (green-blind)
#32528C
Tritanopia (blue-blind)
#793F5A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792e8e;
/* rgb */ color: rgb(121, 46, 142);
/* oklch */ color: oklch(45.1% 0.162 318.1);
Tailwind
colors: {
  custom: {
    50: '#a36daf',
    500: '#792e8e',
    950: '#000000',
  },
}
SCSS
$custom: #792e8e;
$custom-light: #a36daf;
$custom-dark: #000000;
JSON
{
  "hex": "#792e8e",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 286.875,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45089,
    "c": 0.16202,
    "h": 318.1
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#792E8E
secondary
#75B563
accent
#DB4D6C
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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