#77217E#77217E

#77217E is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.4% C 0.163 H 324.7°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#77217E
RGBrgb(119, 33, 126)
HSLhsl(295, 58%, 31%)
HSVhsv(295, 74%, 49%)
CMYKcmyk(5.6%, 73.8%, 0%, 50.6%)
CIE-LABlab(30.68, 49.05, -33.89)
CIE-LCHlch(30.68, 59.62, 325.35°)
OKLaboklab(42.38% 0.1332 -0.0943)
OKLCHoklch(42.38% 0.163 324.7)
XYZxyz(11.9172, 6.5168, 20.3648)
Luminance0.0652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77217E #287E21
analogous
#48217E #77217E #7E2156
triadic
#77217E #7E7721 #217E77
tetradic
#77217E #7E4821 #287E21 #21567E
square
#77217E #7E4821 #287E21 #21567E
split-complementary
#77217E #567E21 #217E48
monochromatic
#1B081D #49144E #77217E #A52EAE #C54AD0

Accessibility & contrast

On white

9.12
#77217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#77217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77217E
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77217E#FFFFFF#000000##FFFFFF
##77217E1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044281
Deuteranopia (green-blind)
#334C7C
Tritanopia (blue-blind)
#7A314D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77217e;
/* rgb */ color: rgb(119, 33, 126);
/* oklch */ color: oklch(42.4% 0.163 324.7);
Tailwind
colors: {
  custom: {
    50: '#a165a4',
    500: '#77217e',
    950: '#000000',
  },
}
SCSS
$custom: #77217e;
$custom-light: #a165a4;
$custom-dark: #000000;
JSON
{
  "hex": "#77217e",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 295.484,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42376,
    "c": 0.16321,
    "h": 324.7
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#77217E
secondary
#52B14A
accent
#E24652
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77217E

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

Preview Lab → · Contrast checker → · Palette generator →

#77217E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva