#77218E#77218E

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

Color values

HEX#77218E
RGBrgb(119, 33, 142)
HSLhsl(287, 62%, 34%)
HSVhsv(287, 77%, 56%)
CMYKcmyk(16.2%, 76.8%, 0%, 44.3%)
CIE-LABlab(31.72, 52.13, -42.18)
CIE-LCHlch(31.72, 67.06, 321.02°)
OKLaboklab(43.45% 0.132 -0.1186)
OKLCHoklch(43.45% 0.177 318)
XYZxyz(13.0334, 6.9632, 26.2435)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77218E #388E21
analogous
#40218E #77218E #8E216F
triadic
#77218E #8E7721 #218E77
tetradic
#77218E #8E4021 #388E21 #216F8E
square
#77218E #8E4021 #388E21 #216F8E
split-complementary
#77218E #6F8E21 #218E40
monochromatic
#240A2B #4D155C #77218E #A12DC0 #BB52D7

Accessibility & contrast

On white

8.78
#77218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#77218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77218E
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77218E#FFFFFF#000000##FFFFFF
##77218E1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#264D8C
Tritanopia (blue-blind)
#763856
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #77218e;
/* rgb */ color: rgb(119, 33, 142);
/* oklch */ color: oklch(43.5% 0.177 318.0);
Tailwind
colors: {
  custom: {
    50: '#a266b0',
    500: '#77218e',
    950: '#000000',
  },
}
SCSS
$custom: #77218e;
$custom-light: #a266b0;
$custom-dark: #000000;
JSON
{
  "hex": "#77218e",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 287.339,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43452,
    "c": 0.17742,
    "h": 318
  },
  "luminance": 0.06963
}

Semantic roles & 50–950 ramp

primary
#77218E
secondary
#67BA50
accent
#E54265
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #77218E

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

Preview Lab → · Contrast checker → · Palette generator →

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