#792E8F#792E8F

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

Color values

HEX#792E8F
RGBrgb(121, 46, 143)
HSLhsl(286, 51%, 37%)
HSVhsv(286, 68%, 56%)
CMYKcmyk(15.4%, 67.8%, 0%, 43.9%)
CIE-LABlab(33.99, 47.45, -39.15)
CIE-LCHlch(33.99, 61.52, 320.48°)
OKLaboklab(45.15% 0.1205 -0.1097)
OKLCHoklch(45.15% 0.163 317.7)
XYZxyz(13.8194, 8.0027, 26.7980)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E8F #448F2E
analogous
#492E8F #792E8F #8F2E75
triadic
#792E8F #8F792E #2E8F79
tetradic
#792E8F #8F492E #448F2E #2E758F
square
#792E8F #8F492E #448F2E #2E758F
split-complementary
#792E8F #758F2E #2E8F49
monochromatic
#2B1032 #521F61 #792E8F #A03DBD #B869CF

Accessibility & contrast

On white

8.08
#792E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792E8F
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E8F#FFFFFF#000000##FFFFFF
##792E8F1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054B92
Deuteranopia (green-blind)
#31528D
Tritanopia (blue-blind)
#78405A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792e8f;
/* rgb */ color: rgb(121, 46, 143);
/* oklch */ color: oklch(45.2% 0.163 317.7);
Tailwind
colors: {
  custom: {
    50: '#a36db0',
    500: '#792e8f',
    950: '#000000',
  },
}
SCSS
$custom: #792e8f;
$custom-light: #a36db0;
$custom-dark: #000000;
JSON
{
  "hex": "#792e8f",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 286.392,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45154,
    "c": 0.163,
    "h": 317.7
  },
  "luminance": 0.08002
}

Semantic roles & 50–950 ramp

primary
#792E8F
secondary
#76B663
accent
#DB4D6D
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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