#7D216F#7D216F

#7D216F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.154 H 334.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#7D216F
RGBrgb(125, 33, 111)
HSLhsl(309, 58%, 31%)
HSVhsv(309, 74%, 49%)
CMYKcmyk(0%, 73.6%, 11.2%, 51%)
CIE-LABlab(30.87, 47.90, -24.03)
CIE-LCHlch(30.87, 53.59, 333.36°)
OKLaboklab(42.44% 0.1395 -0.0656)
OKLCHoklch(42.44% 0.154 334.8)
XYZxyz(11.8707, 6.5964, 15.6839)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D216F #217D2F
analogous
#5D217D #7D216F #7D2141
triadic
#7D216F #6F7D21 #216F7D
tetradic
#7D216F #7D5D21 #217D2F #21417D
square
#7D216F #7D5D21 #217D2F #21417D
split-complementary
#7D216F #417D21 #217D5D
monochromatic
#1C0719 #4D1444 #7D216F #AD2E9A #CF49BB

Accessibility & contrast

On white

9.06
#7D216F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7D216F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D216F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D216F#FFFFFF#000000##FFFFFF
##7D216F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204071
Deuteranopia (green-blind)
#414E6D
Tritanopia (blue-blind)
#832845
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7d216f;
/* rgb */ color: rgb(125, 33, 111);
/* oklch */ color: oklch(42.4% 0.154 334.8);
Tailwind
colors: {
  custom: {
    50: '#a66698',
    500: '#7d216f',
    950: '#000000',
  },
}
SCSS
$custom: #7d216f;
$custom-light: #a66698;
$custom-dark: #000000;
JSON
{
  "hex": "#7d216f",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 111
  },
  "hsl": {
    "h": 309.13,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42438,
    "c": 0.15418,
    "h": 334.8
  },
  "luminance": 0.06595
}

Semantic roles & 50–950 ramp

primary
#7D216F
secondary
#4AB059
accent
#E15E46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7D216F

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

Preview Lab → · Contrast checker → · Palette generator →

#7D216F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva