#792B87#792B87

#792B87 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.159 H 321.2°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#792B87
RGBrgb(121, 43, 135)
HSLhsl(291, 52%, 35%)
HSVhsv(291, 68%, 53%)
CMYKcmyk(10.4%, 68.1%, 0%, 47.1%)
CIE-LABlab(33.01, 47.16, -35.77)
CIE-LCHlch(33.01, 59.19, 322.82°)
OKLaboklab(44.29% 0.1243 -0.0998)
OKLCHoklch(44.29% 0.159 321.2)
XYZxyz(13.1217, 7.5426, 23.6817)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B87 #39872B
analogous
#4B2B87 #792B87 #872B67
triadic
#792B87 #87792B #2B8779
tetradic
#792B87 #874B2B #39872B #2B6787
square
#792B87 #874B2B #39872B #2B6787
split-complementary
#792B87 #67872B #2B874B
monochromatic
#260D2A #4F1C59 #792B87 #A33AB5 #BC60CC

Accessibility & contrast

On white

8.37
#792B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#792B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B87
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B87#FFFFFF#000000##FFFFFF
##792B871.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F488A
Deuteranopia (green-blind)
#355185
Tritanopia (blue-blind)
#7A3B55
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #792b87;
/* rgb */ color: rgb(121, 43, 135);
/* oklch */ color: oklch(44.3% 0.159 321.2);
Tailwind
colors: {
  custom: {
    50: '#a36baa',
    500: '#792b87',
    950: '#000000',
  },
}
SCSS
$custom: #792b87;
$custom-light: #a36baa;
$custom-dark: #000000;
JSON
{
  "hex": "#792b87",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 135
  },
  "hsl": {
    "h": 290.87,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44292,
    "c": 0.15942,
    "h": 321.2
  },
  "luminance": 0.07542
}

Semantic roles & 50–950 ramp

primary
#792B87
secondary
#69B25B
accent
#DB4D62
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792B87

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

Preview Lab → · Contrast checker → · Palette generator →

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