#791F86#791F86

#791F86 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.173 H 322.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#791F86
RGBrgb(121, 31, 134)
HSLhsl(292, 62%, 32%)
HSVhsv(292, 77%, 53%)
CMYKcmyk(9.7%, 76.9%, 0%, 47.5%)
CIE-LABlab(31.27, 51.72, -37.93)
CIE-LCHlch(31.27, 64.14, 323.74°)
OKLaboklab(43.03% 0.1371 -0.1061)
OKLCHoklch(43.03% 0.173 322.3)
XYZxyz(12.6778, 6.7669, 23.1880)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791F86 #2C861F
analogous
#451F86 #791F86 #861F60
triadic
#791F86 #86791F #1F8679
tetradic
#791F86 #86451F #2C861F #1F6086
square
#791F86 #86451F #2C861F #1F6086
split-complementary
#791F86 #60861F #1F8645
monochromatic
#1F0823 #4C1454 #791F86 #A62AB8 #C44AD5

Accessibility & contrast

On white

8.92
#791F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#791F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791F86
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791F86#FFFFFF#000000##FFFFFF
##791F861.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004389
Deuteranopia (green-blind)
#2E4D84
Tritanopia (blue-blind)
#7B3351
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #791f86;
/* rgb */ color: rgb(121, 31, 134);
/* oklch */ color: oklch(43.0% 0.173 322.3);
Tailwind
colors: {
  custom: {
    50: '#a365aa',
    500: '#791f86',
    950: '#000000',
  },
}
SCSS
$custom: #791f86;
$custom-light: #a365aa;
$custom-dark: #000000;
JSON
{
  "hex": "#791f86",
  "rgb": {
    "r": 121,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 292.427,
    "s": 62.424,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43026,
    "c": 0.17337,
    "h": 322.3
  },
  "luminance": 0.06766
}

Semantic roles & 50–950 ramp

primary
#791F86
secondary
#57B849
accent
#E54257
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #791F86

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

Preview Lab → · Contrast checker → · Palette generator →

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