#76217A#76217A

#76217A is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.159 H 326.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#76217A
RGBrgb(118, 33, 122)
HSLhsl(297, 57%, 30%)
HSVhsv(297, 73%, 48%)
CMYKcmyk(3.3%, 73%, 0%, 52.2%)
CIE-LABlab(30.27, 48.07, -32.04)
CIE-LCHlch(30.27, 57.77, 326.31°)
OKLaboklab(41.97% 0.1321 -0.089)
OKLCHoklch(41.97% 0.159 326)
XYZxyz(11.5277, 6.3452, 19.0261)
Luminance0.0634 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76217A #257A21
analogous
#49217A #76217A #7A2152
triadic
#76217A #7A7621 #217A76
tetradic
#76217A #7A4921 #257A21 #21527A
square
#76217A #7A4921 #257A21 #21527A
split-complementary
#76217A #527A21 #217A49
monochromatic
#19071A #47144A #76217A #A52EAA #C748CD

Accessibility & contrast

On white

9.26
#76217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#76217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76217A
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76217A#FFFFFF#000000##FFFFFF
##76217A1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407C
Deuteranopia (green-blind)
#354B78
Tritanopia (blue-blind)
#792F4B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #76217a;
/* rgb */ color: rgb(118, 33, 122);
/* oklch */ color: oklch(42.0% 0.159 326.0);
Tailwind
colors: {
  custom: {
    50: '#a165a1',
    500: '#76217a',
    950: '#000000',
  },
}
SCSS
$custom: #76217a;
$custom-light: #a165a1;
$custom-dark: #000000;
JSON
{
  "hex": "#76217a",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 297.303,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41968,
    "c": 0.15925,
    "h": 326
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#76217A
secondary
#4EAD4A
accent
#E1474E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #76217A

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

Preview Lab → · Contrast checker → · Palette generator →

#76217A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva