#76217F#76217F

#76217F is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.3% C 0.164 H 323.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#76217F
RGBrgb(118, 33, 127)
HSLhsl(294, 59%, 31%)
HSVhsv(294, 74%, 50%)
CMYKcmyk(7.1%, 74%, 0%, 50.2%)
CIE-LABlab(30.57, 49.00, -34.70)
CIE-LCHlch(30.57, 60.04, 324.70°)
OKLaboklab(42.29% 0.1319 -0.0967)
OKLCHoklch(42.29% 0.164 323.8)
XYZxyz(11.8455, 6.4723, 20.6999)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76217F #2A7F21
analogous
#47217F #76217F #7F2159
triadic
#76217F #7F7621 #217F76
tetradic
#76217F #7F4721 #2A7F21 #21597F
square
#76217F #7F4721 #2A7F21 #21597F
split-complementary
#76217F #597F21 #217F47
monochromatic
#1C081E #49144E #76217F #A32EB0 #C34AD0

Accessibility & contrast

On white

9.15
#76217F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#76217F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76217F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76217F#FFFFFF#000000##FFFFFF
##76217F1.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004282
Deuteranopia (green-blind)
#314B7D
Tritanopia (blue-blind)
#78314E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76217f;
/* rgb */ color: rgb(118, 33, 127);
/* oklch */ color: oklch(42.3% 0.164 323.8);
Tailwind
colors: {
  custom: {
    50: '#a165a4',
    500: '#76217f',
    950: '#000000',
  },
}
SCSS
$custom: #76217f;
$custom-light: #a165a4;
$custom-dark: #000000;
JSON
{
  "hex": "#76217f",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 127
  },
  "hsl": {
    "h": 294.255,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42287,
    "c": 0.1636,
    "h": 323.8
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#76217F
secondary
#54B24A
accent
#E24655
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76217F

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

Preview Lab → · Contrast checker → · Palette generator →

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