#77218C#77218C

#77218C is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.176 H 318.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#77218C
RGBrgb(119, 33, 140)
HSLhsl(288, 62%, 34%)
HSVhsv(288, 76%, 55%)
CMYKcmyk(15%, 76.4%, 0%, 45.1%)
CIE-LABlab(31.59, 51.74, -41.17)
CIE-LCHlch(31.59, 66.12, 321.49°)
OKLaboklab(43.31% 0.1322 -0.1156)
OKLCHoklch(43.31% 0.176 318.8)
XYZxyz(12.8846, 6.9037, 25.4597)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77218C #368C21
analogous
#42218C #77218C #8C216C
triadic
#77218C #8C7721 #218C77
tetradic
#77218C #8C4221 #368C21 #216C8C
square
#77218C #8C4221 #368C21 #216C8C
split-complementary
#77218C #6C8C21 #218C42
monochromatic
#230A29 #4D155A #77218C #A12DBE #BC51D6

Accessibility & contrast

On white

8.82
#77218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#77218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77218C
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77218C#FFFFFF#000000##FFFFFF
##77218C1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#284D8A
Tritanopia (blue-blind)
#773755
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #77218c;
/* rgb */ color: rgb(119, 33, 140);
/* oklch */ color: oklch(43.3% 0.176 318.8);
Tailwind
colors: {
  custom: {
    50: '#a266ae',
    500: '#77218c',
    950: '#000000',
  },
}
SCSS
$custom: #77218c;
$custom-light: #a266ae;
$custom-dark: #000000;
JSON
{
  "hex": "#77218c",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 288.224,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43312,
    "c": 0.17562,
    "h": 318.8
  },
  "luminance": 0.06903
}

Semantic roles & 50–950 ramp

primary
#77218C
secondary
#64B94F
accent
#E54363
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #77218C

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

Preview Lab → · Contrast checker → · Palette generator →

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