#7D2081#7D2081

#7D2081 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.170 H 326.2°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#7D2081
RGBrgb(125, 32, 129)
HSLhsl(298, 60%, 32%)
HSVhsv(298, 75%, 51%)
CMYKcmyk(3.1%, 75.2%, 0%, 49.4%)
CIE-LABlab(31.76, 51.34, -33.99)
CIE-LCHlch(31.76, 61.57, 326.49°)
OKLaboklab(43.41% 0.1412 -0.0945)
OKLCHoklch(43.41% 0.17 326.2)
XYZxyz(12.9362, 6.9789, 21.4303)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2081 #248120
analogous
#4D2081 #7D2081 #812055
triadic
#7D2081 #817D20 #20817D
tetradic
#7D2081 #814D20 #248120 #205581
square
#7D2081 #814D20 #248120 #205581
split-complementary
#7D2081 #558120 #20814D
monochromatic
#1E081F #4D1450 #7D2081 #AD2CB2 #CC49D2

Accessibility & contrast

On white

8.77
#7D2081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7D2081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2081
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2081#FFFFFF#000000##FFFFFF
##7D20811.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054384
Deuteranopia (green-blind)
#374F7F
Tritanopia (blue-blind)
#80304F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d2081;
/* rgb */ color: rgb(125, 32, 129);
/* oklch */ color: oklch(43.4% 0.170 326.2);
Tailwind
colors: {
  custom: {
    50: '#a666a6',
    500: '#7d2081',
    950: '#000000',
  },
}
SCSS
$custom: #7d2081;
$custom-light: #a666a6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2081",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 129
  },
  "hsl": {
    "h": 297.526,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43406,
    "c": 0.16987,
    "h": 326.2
  },
  "luminance": 0.06978
}

Semantic roles & 50–950 ramp

primary
#7D2081
secondary
#4DB449
accent
#E3444B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D2081

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

Preview Lab → · Contrast checker → · Palette generator →

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