#77217D#77217D

#77217D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.162 H 325.1°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#77217D
RGBrgb(119, 33, 125)
HSLhsl(296, 58%, 31%)
HSVhsv(296, 74%, 49%)
CMYKcmyk(4.8%, 73.6%, 0%, 51%)
CIE-LABlab(30.62, 48.86, -33.36)
CIE-LCHlch(30.62, 59.16, 325.67°)
OKLaboklab(42.31% 0.1332 -0.0928)
OKLCHoklch(42.31% 0.162 325.1)
XYZxyz(11.8530, 6.4911, 20.0267)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77217D #277D21
analogous
#49217D #77217D #7D2155
triadic
#77217D #7D7721 #217D77
tetradic
#77217D #7D4921 #277D21 #21557D
square
#77217D #7D4921 #277D21 #21557D
split-complementary
#77217D #557D21 #217D49
monochromatic
#1B071C #49144D #77217D #A52EAD #C649CF

Accessibility & contrast

On white

9.14
#77217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #77217D
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77217D#FFFFFF#000000##FFFFFF
##77217D1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074180
Deuteranopia (green-blind)
#344C7B
Tritanopia (blue-blind)
#7A304D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77217d;
/* rgb */ color: rgb(119, 33, 125);
/* oklch */ color: oklch(42.3% 0.162 325.1);
Tailwind
colors: {
  custom: {
    50: '#a165a3',
    500: '#77217d',
    950: '#000000',
  },
}
SCSS
$custom: #77217d;
$custom-light: #a165a3;
$custom-dark: #000000;
JSON
{
  "hex": "#77217d",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 296.087,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42313,
    "c": 0.16234,
    "h": 325.1
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

primary
#77217D
secondary
#51B04A
accent
#E14650
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77217D

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

Preview Lab → · Contrast checker → · Palette generator →

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