#7D2D84#7D2D84

#7D2D84 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.156 H 324.4°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7D2D84
RGBrgb(125, 45, 132)
HSLhsl(295, 49%, 35%)
HSVhsv(295, 66%, 52%)
CMYKcmyk(5.3%, 65.9%, 0%, 48.2%)
CIE-LABlab(33.78, 46.69, -32.65)
CIE-LCHlch(33.78, 56.97, 325.03°)
OKLaboklab(44.92% 0.1268 -0.0907)
OKLCHoklch(44.92% 0.156 324.4)
XYZxyz(13.5603, 7.9035, 22.6366)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D84 #34842D
analogous
#512D84 #7D2D84 #842D60
triadic
#7D2D84 #847D2D #2D847D
tetradic
#7D2D84 #84512D #34842D #2D6084
square
#7D2D84 #84512D #34842D #2D6084
split-complementary
#7D2D84 #60842D #2D8451
monochromatic
#270E29 #521D56 #7D2D84 #A83DB2 #C162C9

Accessibility & contrast

On white

8.14
#7D2D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7D2D84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D84
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D84#FFFFFF#000000##FFFFFF
##7D2D841.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4987
Deuteranopia (green-blind)
#3C5382
Tritanopia (blue-blind)
#803A54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2d84;
/* rgb */ color: rgb(125, 45, 132);
/* oklch */ color: oklch(44.9% 0.156 324.4);
Tailwind
colors: {
  custom: {
    50: '#a56ca8',
    500: '#7d2d84',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d84;
$custom-light: #a56ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d84",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 295.172,
    "s": 49.153,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44916,
    "c": 0.15584,
    "h": 324.4
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#7D2D84
secondary
#64B05D
accent
#D94F5A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2D84

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

Preview Lab → · Contrast checker → · Palette generator →

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