#792E87#792E87

#792E87 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.155 H 321.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#792E87
RGBrgb(121, 46, 135)
HSLhsl(291, 49%, 35%)
HSVhsv(291, 66%, 53%)
CMYKcmyk(10.4%, 65.9%, 0%, 47.1%)
CIE-LABlab(33.50, 45.81, -35.00)
CIE-LCHlch(33.50, 57.65, 322.62°)
OKLaboklab(44.64% 0.1206 -0.0976)
OKLCHoklch(44.64% 0.155 321)
XYZxyz(13.2348, 7.7689, 23.7194)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E87 #3C872E
analogous
#4C2E87 #792E87 #872E68
triadic
#792E87 #87792E #2E8779
tetradic
#792E87 #874C2E #3C872E #2E6887
square
#792E87 #874C2E #3C872E #2E6887
split-complementary
#792E87 #68872E #2E874C
monochromatic
#270F2C #501E59 #792E87 #A23EB5 #BB65CA

Accessibility & contrast

On white

8.22
#792E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#792E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E87
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E87#FFFFFF#000000##FFFFFF
##792E871.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16498A
Deuteranopia (green-blind)
#375285
Tritanopia (blue-blind)
#7A3D56
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792e87;
/* rgb */ color: rgb(121, 46, 135);
/* oklch */ color: oklch(44.6% 0.155 321.0);
Tailwind
colors: {
  custom: {
    50: '#a26caa',
    500: '#792e87',
    950: '#000000',
  },
}
SCSS
$custom: #792e87;
$custom-light: #a26caa;
$custom-dark: #000000;
JSON
{
  "hex": "#792e87",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 290.562,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44642,
    "c": 0.15519,
    "h": 321
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#792E87
secondary
#6CB160
accent
#D94F65
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792E87

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

Preview Lab → · Contrast checker → · Palette generator →

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