#76217C#76217C

#76217C is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.161 H 325.1°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#76217C
RGBrgb(118, 33, 124)
HSLhsl(296, 58%, 31%)
HSVhsv(296, 73%, 49%)
CMYKcmyk(4.8%, 73.4%, 0%, 51.4%)
CIE-LABlab(30.39, 48.44, -33.11)
CIE-LCHlch(30.39, 58.68, 325.65°)
OKLaboklab(42.1% 0.132 -0.0921)
OKLCHoklch(42.1% 0.161 325.1)
XYZxyz(11.6529, 6.3952, 19.6855)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76217C #277C21
analogous
#48217C #76217C #7C2154
triadic
#76217C #7C7621 #217C76
tetradic
#76217C #7C4821 #277C21 #21547C
square
#76217C #7C4821 #277C21 #21547C
split-complementary
#76217C #547C21 #217C48
monochromatic
#1A071B #48144C #76217C #A42EAC #C649CF

Accessibility & contrast

On white

9.21
#76217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76217C
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76217C#FFFFFF#000000##FFFFFF
##76217C1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08417F
Deuteranopia (green-blind)
#334B7A
Tritanopia (blue-blind)
#79304C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #76217c;
/* rgb */ color: rgb(118, 33, 124);
/* oklch */ color: oklch(42.1% 0.161 325.1);
Tailwind
colors: {
  custom: {
    50: '#a165a2',
    500: '#76217c',
    950: '#000000',
  },
}
SCSS
$custom: #76217c;
$custom-light: #a165a2;
$custom-dark: #000000;
JSON
{
  "hex": "#76217c",
  "rgb": {
    "r": 118,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 296.044,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42095,
    "c": 0.16098,
    "h": 325.1
  },
  "luminance": 0.06395
}

Semantic roles & 50–950 ramp

primary
#76217C
secondary
#51AF4A
accent
#E14751
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76217C

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

Preview Lab → · Contrast checker → · Palette generator →

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