#792B86#792B86

#792B86 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.2% C 0.158 H 321.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#792B86
RGBrgb(121, 43, 134)
HSLhsl(291, 51%, 35%)
HSVhsv(291, 68%, 53%)
CMYKcmyk(9.7%, 67.9%, 0%, 47.5%)
CIE-LABlab(32.95, 46.96, -35.25)
CIE-LCHlch(32.95, 58.72, 323.11°)
OKLaboklab(44.23% 0.1243 -0.0983)
OKLCHoklch(44.23% 0.158 321.7)
XYZxyz(13.0516, 7.5146, 23.3126)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B86 #38862B
analogous
#4C2B86 #792B86 #862B65
triadic
#792B86 #86792B #2B8679
tetradic
#792B86 #864C2B #38862B #2B6586
square
#792B86 #864C2B #38862B #2B6586
split-complementary
#792B86 #65862B #2B864C
monochromatic
#250D29 #4F1C58 #792B86 #A33AB4 #BC60CC

Accessibility & contrast

On white

8.39
#792B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#792B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B86
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B86#FFFFFF#000000##FFFFFF
##792B861.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114889
Deuteranopia (green-blind)
#365084
Tritanopia (blue-blind)
#7A3A55
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792b86;
/* rgb */ color: rgb(121, 43, 134);
/* oklch */ color: oklch(44.2% 0.158 321.7);
Tailwind
colors: {
  custom: {
    50: '#a36baa',
    500: '#792b86',
    950: '#000000',
  },
}
SCSS
$custom: #792b86;
$custom-light: #a36baa;
$custom-dark: #000000;
JSON
{
  "hex": "#792b86",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 291.429,
    "s": 51.412,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44228,
    "c": 0.15848,
    "h": 321.7
  },
  "luminance": 0.07514
}

Semantic roles & 50–950 ramp

primary
#792B86
secondary
#67B25B
accent
#DB4D61
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792B86

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

Preview Lab → · Contrast checker → · Palette generator →

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