#791C80#791C80

#791C80 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.171 H 324.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#791C80
RGBrgb(121, 28, 128)
HSLhsl(296, 64%, 31%)
HSVhsv(296, 78%, 50%)
CMYKcmyk(5.5%, 78.1%, 0%, 49.8%)
CIE-LABlab(30.53, 51.62, -35.37)
CIE-LCHlch(30.53, 62.58, 325.59°)
OKLaboklab(42.38% 0.1403 -0.0985)
OKLCHoklch(42.38% 0.171 324.9)
XYZxyz(12.1964, 6.4548, 21.0214)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#791C80 #23801C
analogous
#471C80 #791C80 #801C55
triadic
#791C80 #80791C #1C8079
tetradic
#791C80 #80471C #23801C #1C5580
square
#791C80 #80471C #23801C #1C5580
split-complementary
#791C80 #55801C #1C8047
monochromatic
#1A061C #4A114E #791C80 #A827B2 #CB41D5

Accessibility & contrast

On white

9.17
#791C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#791C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #791C80
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##791C80#FFFFFF#000000##FFFFFF
##791C801.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#314C7E
Tritanopia (blue-blind)
#7C2E4D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #791c80;
/* rgb */ color: rgb(121, 28, 128);
/* oklch */ color: oklch(42.4% 0.171 324.9);
Tailwind
colors: {
  custom: {
    50: '#a364a5',
    500: '#791c80',
    950: '#000000',
  },
}
SCSS
$custom: #791c80;
$custom-light: #a364a5;
$custom-dark: #000000;
JSON
{
  "hex": "#791c80",
  "rgb": {
    "r": 121,
    "g": 28,
    "b": 128
  },
  "hsl": {
    "h": 295.8,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42377,
    "c": 0.17148,
    "h": 324.9
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#791C80
secondary
#4CB344
accent
#E7414C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #791C80

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

Preview Lab → · Contrast checker → · Palette generator →

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