#76217D#76217D

#76217D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.2% C 0.162 H 324.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#76217D
RGBrgb(118, 33, 125)
HSLhsl(295, 58%, 31%)
HSVhsv(295, 74%, 49%)
CMYKcmyk(5.6%, 73.6%, 0%, 51%)
CIE-LABlab(30.45, 48.63, -33.64)
CIE-LCHlch(30.45, 59.13, 325.32°)
OKLaboklab(42.16% 0.132 -0.0936)
OKLCHoklch(42.16% 0.162 324.7)
XYZxyz(11.7164, 6.4207, 20.0203)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76217D #287D21
analogous
#48217D #76217D #7D2156
triadic
#76217D #7D7621 #217D76
tetradic
#76217D #7D4821 #287D21 #21567D
square
#76217D #7D4821 #287D21 #21567D
split-complementary
#76217D #567D21 #217D48
monochromatic
#1B071C #48144D #76217D #A42EAD #C549CF

Accessibility & contrast

On white

9.19
#76217D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#76217D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76217D
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76217D#FFFFFF#000000##FFFFFF
##76217D1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054180
Deuteranopia (green-blind)
#334B7B
Tritanopia (blue-blind)
#79314D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76217d;
/* rgb */ color: rgb(118, 33, 125);
/* oklch */ color: oklch(42.2% 0.162 324.7);
Tailwind
colors: {
  custom: {
    50: '#a165a3',
    500: '#76217d',
    950: '#000000',
  },
}
SCSS
$custom: #76217d;
$custom-light: #a165a3;
$custom-dark: #000000;
JSON
{
  "hex": "#76217d",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 125
  },
  "hsl": {
    "h": 295.435,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42158,
    "c": 0.16185,
    "h": 324.7
  },
  "luminance": 0.0642
}

Semantic roles & 50–950 ramp

primary
#76217D
secondary
#52B04A
accent
#E14652
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76217D

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

Preview Lab → · Contrast checker → · Palette generator →

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