#77218B#77218B

#77218B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.175 H 319.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#77218B
RGBrgb(119, 33, 139)
HSLhsl(289, 62%, 34%)
HSVhsv(289, 76%, 55%)
CMYKcmyk(14.4%, 76.3%, 0%, 45.5%)
CIE-LABlab(31.52, 51.54, -40.66)
CIE-LCHlch(31.52, 65.64, 321.73°)
OKLaboklab(43.24% 0.1323 -0.1141)
OKLCHoklch(43.24% 0.175 319.2)
XYZxyz(12.8112, 6.8744, 25.0732)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77218B #358B21
analogous
#42218B #77218B #8B216A
triadic
#77218B #8B7721 #218B77
tetradic
#77218B #8B4221 #358B21 #216A8B
square
#77218B #8B4221 #358B21 #216A8B
split-complementary
#77218B #6A8B21 #218B42
monochromatic
#220A28 #4D155A #77218B #A12DBC #BD51D6

Accessibility & contrast

On white

8.84
#77218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#77218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77218B
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77218B#FFFFFF#000000##FFFFFF
##77218B1.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#294D89
Tritanopia (blue-blind)
#773755
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #77218b;
/* rgb */ color: rgb(119, 33, 139);
/* oklch */ color: oklch(43.2% 0.175 319.2);
Tailwind
colors: {
  custom: {
    50: '#a266ad',
    500: '#77218b',
    950: '#000000',
  },
}
SCSS
$custom: #77218b;
$custom-light: #a266ad;
$custom-dark: #000000;
JSON
{
  "hex": "#77218b",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 288.679,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43243,
    "c": 0.17472,
    "h": 319.2
  },
  "luminance": 0.06874
}

Semantic roles & 50–950 ramp

primary
#77218B
secondary
#63B94F
accent
#E54362
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #77218B

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

Preview Lab → · Contrast checker → · Palette generator →

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