#792F86#792F86

#792F86 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.153 H 321.4°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#792F86
RGBrgb(121, 47, 134)
HSLhsl(291, 48%, 35%)
HSVhsv(291, 65%, 53%)
CMYKcmyk(9.7%, 64.9%, 0%, 47.5%)
CIE-LABlab(33.60, 45.14, -34.21)
CIE-LCHlch(33.60, 56.64, 322.85°)
OKLaboklab(44.7% 0.1194 -0.0953)
OKLCHoklch(44.7% 0.153 321.4)
XYZxyz(13.2043, 7.8199, 23.3635)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792F86 #3C862F
analogous
#4D2F86 #792F86 #862F68
triadic
#792F86 #86792F #2F8679
tetradic
#792F86 #864D2F #3C862F #2F6886
square
#792F86 #864D2F #3C862F #2F6886
split-complementary
#792F86 #68862F #2F864D
monochromatic
#270F2B #501F59 #792F86 #A23FB3 #BB66C9

Accessibility & contrast

On white

8.19
#792F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#792F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792F86
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792F86#FFFFFF#000000##FFFFFF
##792F861.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A89
Deuteranopia (green-blind)
#395284
Tritanopia (blue-blind)
#7A3D56
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792f86;
/* rgb */ color: rgb(121, 47, 134);
/* oklch */ color: oklch(44.7% 0.153 321.4);
Tailwind
colors: {
  custom: {
    50: '#a26daa',
    500: '#792f86',
    950: '#000000',
  },
}
SCSS
$custom: #792f86;
$custom-light: #a26daa;
$custom-dark: #000000;
JSON
{
  "hex": "#792f86",
  "rgb": {
    "r": 121,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 291.034,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44701,
    "c": 0.15277,
    "h": 321.4
  },
  "luminance": 0.07819
}

Semantic roles & 50–950 ramp

primary
#792F86
secondary
#6CB060
accent
#D85064
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792F86

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

Preview Lab → · Contrast checker → · Palette generator →

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