#77217F#77217F

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

Color values

HEX#77217F
RGBrgb(119, 33, 127)
HSLhsl(295, 59%, 31%)
HSVhsv(295, 74%, 50%)
CMYKcmyk(6.3%, 74%, 0%, 50.2%)
CIE-LABlab(30.74, 49.23, -34.42)
CIE-LCHlch(30.74, 60.07, 325.04°)
OKLaboklab(42.44% 0.1332 -0.0959)
OKLCHoklch(42.44% 0.164 324.2)
XYZxyz(11.9820, 6.5427, 20.7063)
Luminance0.0654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77217F #297F21
analogous
#48217F #77217F #7F2158
triadic
#77217F #7F7721 #217F77
tetradic
#77217F #7F4821 #297F21 #21587F
square
#77217F #7F4821 #297F21 #21587F
split-complementary
#77217F #587F21 #217F48
monochromatic
#1C081E #49144E #77217F #A52EB0 #C54AD0

Accessibility & contrast

On white

9.10
#77217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#77217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77217F
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77217F#FFFFFF#000000##FFFFFF
##77217F1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024282
Deuteranopia (green-blind)
#324C7D
Tritanopia (blue-blind)
#79314E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #77217f;
/* rgb */ color: rgb(119, 33, 127);
/* oklch */ color: oklch(42.4% 0.164 324.2);
Tailwind
colors: {
  custom: {
    50: '#a165a4',
    500: '#77217f',
    950: '#000000',
  },
}
SCSS
$custom: #77217f;
$custom-light: #a165a4;
$custom-dark: #000000;
JSON
{
  "hex": "#77217f",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 294.894,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4244,
    "c": 0.16408,
    "h": 324.2
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#77217F
secondary
#53B24A
accent
#E24653
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77217F

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

Preview Lab → · Contrast checker → · Palette generator →

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