#7D2D85#7D2D85

#7D2D85 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.157 H 324.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7D2D85
RGBrgb(125, 45, 133)
HSLhsl(295, 49%, 35%)
HSVhsv(295, 66%, 52%)
CMYKcmyk(6%, 66.2%, 0%, 47.8%)
CIE-LABlab(33.84, 46.88, -33.18)
CIE-LCHlch(33.84, 57.44, 324.71°)
OKLaboklab(44.98% 0.1268 -0.0922)
OKLCHoklch(44.98% 0.157 324)
XYZxyz(13.6291, 7.9310, 22.9987)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D85 #35852D
analogous
#512D85 #7D2D85 #852D61
triadic
#7D2D85 #857D2D #2D857D
tetradic
#7D2D85 #85512D #35852D #2D6185
square
#7D2D85 #85512D #35852D #2D6185
split-complementary
#7D2D85 #61852D #2D8551
monochromatic
#270E2A #521E57 #7D2D85 #A83CB3 #C162CA

Accessibility & contrast

On white

8.12
#7D2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7D2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D85
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D85#FFFFFF#000000##FFFFFF
##7D2D851.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4988
Deuteranopia (green-blind)
#3B5383
Tritanopia (blue-blind)
#7F3A55
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2d85;
/* rgb */ color: rgb(125, 45, 133);
/* oklch */ color: oklch(45.0% 0.157 324.0);
Tailwind
colors: {
  custom: {
    50: '#a56ca9',
    500: '#7d2d85',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d85;
$custom-light: #a56ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d85",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 294.545,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44977,
    "c": 0.15676,
    "h": 324
  },
  "luminance": 0.0793
}

Semantic roles & 50–950 ramp

primary
#7D2D85
secondary
#65B05D
accent
#D94F5B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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