#7D2D81#7D2D81

#7D2D81 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.153 H 325.8°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7D2D81
RGBrgb(125, 45, 129)
HSLhsl(297, 48%, 34%)
HSVhsv(297, 65%, 51%)
CMYKcmyk(3.1%, 65.1%, 0%, 49.4%)
CIE-LABlab(33.61, 46.12, -31.06)
CIE-LCHlch(33.61, 55.60, 326.05°)
OKLaboklab(44.74% 0.1266 -0.086)
OKLCHoklch(44.74% 0.153 325.8)
XYZxyz(13.3580, 7.8225, 21.5709)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D81 #31812D
analogous
#532D81 #7D2D81 #812D5B
triadic
#7D2D81 #817D2D #2D817D
tetradic
#7D2D81 #81532D #31812D #2D5B81
square
#7D2D81 #81532D #31812D #2D5B81
split-complementary
#7D2D81 #5B812D #2D8153
monochromatic
#250D26 #511D54 #7D2D81 #A93DAE #C361C8

Accessibility & contrast

On white

8.19
#7D2D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7D2D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D81
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D81#FFFFFF#000000##FFFFFF
##7D2D811.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4984
Deuteranopia (green-blind)
#3E537F
Tritanopia (blue-blind)
#803953
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2d81;
/* rgb */ color: rgb(125, 45, 129);
/* oklch */ color: oklch(44.7% 0.153 325.8);
Tailwind
colors: {
  custom: {
    50: '#a56ca6',
    500: '#7d2d81',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d81;
$custom-light: #a56ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d81",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 129
  },
  "hsl": {
    "h": 297.143,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44738,
    "c": 0.15309,
    "h": 325.8
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#7D2D81
secondary
#60AE5C
accent
#D85056
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2D81

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

Preview Lab → · Contrast checker → · Palette generator →

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