#77217C#77217C

#77217C is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.161 H 325.6°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#77217C
RGBrgb(119, 33, 124)
HSLhsl(297, 58%, 31%)
HSVhsv(297, 73%, 49%)
CMYKcmyk(4%, 73.4%, 0%, 51.4%)
CIE-LABlab(30.56, 48.67, -32.83)
CIE-LCHlch(30.56, 58.71, 326.00°)
OKLaboklab(42.25% 0.1332 -0.0912)
OKLCHoklch(42.25% 0.161 325.6)
XYZxyz(11.7894, 6.4657, 19.6919)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77217C #267C21
analogous
#49217C #77217C #7C2153
triadic
#77217C #7C7721 #217C77
tetradic
#77217C #7C4921 #267C21 #21537C
square
#77217C #7C4921 #267C21 #21537C
split-complementary
#77217C #537C21 #217C49
monochromatic
#1A071B #49144C #77217C #A52EAC #C749CF

Accessibility & contrast

On white

9.16
#77217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#77217C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77217C
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77217C#FFFFFF#000000##FFFFFF
##77217C1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#09417F
Deuteranopia (green-blind)
#344C7A
Tritanopia (blue-blind)
#7A304C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77217c;
/* rgb */ color: rgb(119, 33, 124);
/* oklch */ color: oklch(42.2% 0.161 325.6);
Tailwind
colors: {
  custom: {
    50: '#a165a2',
    500: '#77217c',
    950: '#000000',
  },
}
SCSS
$custom: #77217c;
$custom-light: #a165a2;
$custom-dark: #000000;
JSON
{
  "hex": "#77217c",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 296.703,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42249,
    "c": 0.16147,
    "h": 325.6
  },
  "luminance": 0.06465
}

Semantic roles & 50–950 ramp

primary
#77217C
secondary
#4FAF4A
accent
#E1474F
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77217C

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

Preview Lab → · Contrast checker → · Palette generator →

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