#7D2D82#7D2D82

#7D2D82 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.8% C 0.154 H 325.3°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7D2D82
RGBrgb(125, 45, 130)
HSLhsl(296, 49%, 34%)
HSVhsv(296, 65%, 51%)
CMYKcmyk(3.8%, 65.4%, 0%, 49%)
CIE-LABlab(33.67, 46.31, -31.59)
CIE-LCHlch(33.67, 56.06, 325.70°)
OKLaboklab(44.8% 0.1267 -0.0876)
OKLCHoklch(44.8% 0.154 325.3)
XYZxyz(13.4248, 7.8493, 21.9227)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D82 #32822D
analogous
#532D82 #7D2D82 #822D5D
triadic
#7D2D82 #827D2D #2D827D
tetradic
#7D2D82 #82532D #32822D #2D5D82
square
#7D2D82 #82532D #32822D #2D5D82
split-complementary
#7D2D82 #5D822D #2D8253
monochromatic
#260E27 #511D55 #7D2D82 #A93DAF #C261C8

Accessibility & contrast

On white

8.17
#7D2D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7D2D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D82
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D82#FFFFFF#000000##FFFFFF
##7D2D821.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2d82;
/* rgb */ color: rgb(125, 45, 130);
/* oklch */ color: oklch(44.8% 0.154 325.3);
Tailwind
colors: {
  custom: {
    50: '#a56ca7',
    500: '#7d2d82',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d82;
$custom-light: #a56ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d82",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 296.471,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44797,
    "c": 0.15401,
    "h": 325.3
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#7D2D82
secondary
#61AF5C
accent
#D85058
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2D82

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

Preview Lab → · Contrast checker → · Palette generator →

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