#792F87#792F87

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

Color values

HEX#792F87
RGBrgb(121, 47, 135)
HSLhsl(290, 48%, 36%)
HSVhsv(290, 65%, 53%)
CMYKcmyk(10.4%, 65.2%, 0%, 47.1%)
CIE-LABlab(33.66, 45.35, -34.73)
CIE-LCHlch(33.66, 57.12, 322.55°)
OKLaboklab(44.76% 0.1194 -0.0968)
OKLCHoklch(44.76% 0.154 321)
XYZxyz(13.2743, 7.8479, 23.7326)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F87 #3D872F
analogous
#4D2F87 #792F87 #872F69
triadic
#792F87 #87792F #2F8779
tetradic
#792F87 #874D2F #3D872F #2F6987
square
#792F87 #874D2F #3D872F #2F6987
split-complementary
#792F87 #69872F #2F874D
monochromatic
#280F2C #501F5A #792F87 #A23FB4 #BA66CA

Accessibility & contrast

On white

8.17
#792F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#792F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F87
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F87#FFFFFF#000000##FFFFFF
##792F871.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#385285
Tritanopia (blue-blind)
#7A3D57
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792f87;
/* rgb */ color: rgb(121, 47, 135);
/* oklch */ color: oklch(44.8% 0.154 321.0);
Tailwind
colors: {
  custom: {
    50: '#a26daa',
    500: '#792f87',
    950: '#000000',
  },
}
SCSS
$custom: #792f87;
$custom-light: #a26daa;
$custom-dark: #000000;
JSON
{
  "hex": "#792f87",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 290.455,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44763,
    "c": 0.15374,
    "h": 321
  },
  "luminance": 0.07847
}

Semantic roles & 50–950 ramp

primary
#792F87
secondary
#6EB161
accent
#D85066
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792F87

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

Preview Lab → · Contrast checker → · Palette generator →

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