#7D1071#7D1071

#7D1071 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.172 H 333.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7D1071
RGBrgb(125, 16, 113)
HSLhsl(307, 77%, 28%)
HSVhsv(307, 87%, 49%)
CMYKcmyk(0%, 87.2%, 9.6%, 51%)
CIE-LABlab(29.22, 53.27, -27.91)
CIE-LCHlch(29.22, 60.14, 332.35°)
OKLaboklab(41.29% 0.1545 -0.0767)
OKLCHoklch(41.29% 0.172 333.6)
XYZxyz(11.6235, 5.9239, 16.1508)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1071 #107D1C
analogous
#53107D #7D1071 #7D103A
triadic
#7D1071 #717D10 #10717D
tetradic
#7D1071 #7D5310 #107D1C #103A7D
square
#7D1071 #7D5310 #107D1C #103A7D
split-complementary
#7D1071 #3A7D10 #107D53
monochromatic
#1B0319 #470940 #7D1071 #B317A2 #E324CE

Accessibility & contrast

On white

9.61
#7D1071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7D1071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1071
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1071#FFFFFF#000000##FFFFFF
##7D10711.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093B73
Deuteranopia (green-blind)
#3A4A6F
Tritanopia (blue-blind)
#831E42
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1071;
/* rgb */ color: rgb(125, 16, 113);
/* oklch */ color: oklch(41.3% 0.172 333.6);
Tailwind
colors: {
  custom: {
    50: '#a6609a',
    500: '#7d1071',
    950: '#000000',
  },
}
SCSS
$custom: #7d1071;
$custom-light: #a6609a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1071",
  "rgb": {
    "r": 125,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 306.606,
    "s": 77.305,
    "l": 27.647
  },
  "oklch": {
    "l": 0.4129,
    "c": 0.17249,
    "h": 333.6
  },
  "luminance": 0.05923
}

Semantic roles & 50–950 ramp

primary
#7D1071
secondary
#35B343
accent
#F44934
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10050E
muted
#7F7A7E

Preview Lab

Preview with #7D1071

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

Preview Lab → · Contrast checker → · Palette generator →

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