#7D2C85#7D2C85

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

Color values

HEX#7D2C85
RGBrgb(125, 44, 133)
HSLhsl(295, 50%, 35%)
HSVhsv(295, 67%, 52%)
CMYKcmyk(6%, 66.9%, 0%, 47.8%)
CIE-LABlab(33.68, 47.32, -33.43)
CIE-LCHlch(33.68, 57.94, 324.76°)
OKLaboklab(44.86% 0.128 -0.0929)
OKLCHoklch(44.86% 0.158 324)
XYZxyz(13.5914, 7.8556, 22.9861)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C85 #34852C
analogous
#512C85 #7D2C85 #852C60
triadic
#7D2C85 #857D2C #2C857D
tetradic
#7D2C85 #85512C #34852C #2C6085
square
#7D2C85 #85512C #34852C #2C6085
split-complementary
#7D2C85 #60852C #2C8551
monochromatic
#270E29 #521D57 #7D2C85 #A83BB3 #C161CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D2C85#FFFFFF#000000##FFFFFF
##7D2C851.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)
#194988
Deuteranopia (green-blind)
#3B5383
Tritanopia (blue-blind)
#7F3A54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2c85;
/* rgb */ color: rgb(125, 44, 133);
/* oklch */ color: oklch(44.9% 0.158 324.0);
Tailwind
colors: {
  custom: {
    50: '#a56ca9',
    500: '#7d2c85',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c85;
$custom-light: #a56ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c85",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 294.607,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44862,
    "c": 0.15818,
    "h": 324
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#7D2C85
secondary
#64B15C
accent
#DA4E5B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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