#7D1D85#7D1D85

#7D1D85 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.176 H 324.6°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7D1D85
RGBrgb(125, 29, 133)
HSLhsl(295, 64%, 32%)
HSVhsv(295, 78%, 52%)
CMYKcmyk(6%, 78.2%, 0%, 47.8%)
CIE-LABlab(31.65, 53.07, -36.66)
CIE-LCHlch(31.65, 64.50, 325.36°)
OKLaboklab(43.41% 0.1438 -0.1022)
OKLCHoklch(43.41% 0.176 324.6)
XYZxyz(13.1301, 6.9330, 22.8324)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1D85 #25851D
analogous
#491D85 #7D1D85 #851D59
triadic
#7D1D85 #857D1D #1D857D
tetradic
#7D1D85 #85491D #25851D #1D5985
square
#7D1D85 #85491D #25851D #1D5985
split-complementary
#7D1D85 #59851D #1D8549
monochromatic
#1F0721 #4E1253 #7D1D85 #AC28B7 #CB46D7

Accessibility & contrast

On white

8.80
#7D1D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7D1D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1D85
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1D85#FFFFFF#000000##FFFFFF
##7D1D851.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004388
Deuteranopia (green-blind)
#324E83
Tritanopia (blue-blind)
#803050
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1d85;
/* rgb */ color: rgb(125, 29, 133);
/* oklch */ color: oklch(43.4% 0.176 324.6);
Tailwind
colors: {
  custom: {
    50: '#a665a9',
    500: '#7d1d85',
    950: '#000000',
  },
}
SCSS
$custom: #7d1d85;
$custom-light: #a665a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1d85",
  "rgb": {
    "r": 125,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 295.385,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43411,
    "c": 0.17644,
    "h": 324.6
  },
  "luminance": 0.06932
}

Semantic roles & 50–950 ramp

primary
#7D1D85
secondary
#4FB846
accent
#E7414D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1D85

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

Preview Lab → · Contrast checker → · Palette generator →

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