#77218F#77218F

#77218F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.178 H 317.7°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#77218F
RGBrgb(119, 33, 143)
HSLhsl(287, 63%, 35%)
HSVhsv(287, 77%, 56%)
CMYKcmyk(16.8%, 76.9%, 0%, 43.9%)
CIE-LABlab(31.79, 52.33, -42.69)
CIE-LCHlch(31.79, 67.54, 320.79°)
OKLaboklab(43.52% 0.1318 -0.1201)
OKLCHoklch(43.52% 0.178 317.7)
XYZxyz(13.1088, 6.9934, 26.6406)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77218F #398F21
analogous
#40218F #77218F #8F2170
triadic
#77218F #8F7721 #218F77
tetradic
#77218F #8F4021 #398F21 #21708F
square
#77218F #8F4021 #398F21 #21708F
split-complementary
#77218F #708F21 #218F40
monochromatic
#240A2C #4E165D #77218F #A02CC1 #BA53D7

Accessibility & contrast

On white

8.76
#77218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#77218F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77218F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77218F#FFFFFF#000000##FFFFFF
##77218F1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#254D8D
Tritanopia (blue-blind)
#763957
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #77218f;
/* rgb */ color: rgb(119, 33, 143);
/* oklch */ color: oklch(43.5% 0.178 317.7);
Tailwind
colors: {
  custom: {
    50: '#a266b0',
    500: '#77218f',
    950: '#000000',
  },
}
SCSS
$custom: #77218f;
$custom-light: #a266b0;
$custom-dark: #000000;
JSON
{
  "hex": "#77218f",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 286.909,
    "s": 62.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43523,
    "c": 0.17832,
    "h": 317.7
  },
  "luminance": 0.06993
}

Semantic roles & 50–950 ramp

primary
#77218F
secondary
#68BB51
accent
#E64266
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #77218F

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

Preview Lab → · Contrast checker → · Palette generator →

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