#7D2C84#7D2C84

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

Color values

HEX#7D2C84
RGBrgb(125, 44, 132)
HSLhsl(295, 50%, 35%)
HSVhsv(295, 67%, 52%)
CMYKcmyk(5.3%, 66.7%, 0%, 48.2%)
CIE-LABlab(33.62, 47.13, -32.90)
CIE-LCHlch(33.62, 57.48, 325.08°)
OKLaboklab(44.8% 0.128 -0.0914)
OKLCHoklch(44.8% 0.157 324.5)
XYZxyz(13.5226, 7.8281, 22.6240)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C84 #33842C
analogous
#512C84 #7D2C84 #842C5F
triadic
#7D2C84 #847D2C #2C847D
tetradic
#7D2C84 #84512C #33842C #2C5F84
square
#7D2C84 #84512C #33842C #2C5F84
split-complementary
#7D2C84 #5F842C #2C8451
monochromatic
#260D28 #521D56 #7D2C84 #A83BB2 #C260CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D2C84#FFFFFF#000000##FFFFFF
##7D2C841.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4987
Deuteranopia (green-blind)
#3B5282
Tritanopia (blue-blind)
#803954
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2c84;
/* rgb */ color: rgb(125, 44, 132);
/* oklch */ color: oklch(44.8% 0.157 324.5);
Tailwind
colors: {
  custom: {
    50: '#a56ca8',
    500: '#7d2c84',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c84;
$custom-light: #a56ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c84",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 132
  },
  "hsl": {
    "h": 295.227,
    "s": 50,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44802,
    "c": 0.15726,
    "h": 324.5
  },
  "luminance": 0.07827
}

Semantic roles & 50–950 ramp

primary
#7D2C84
secondary
#62B05C
accent
#DA4E59
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2C84

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

Preview Lab → · Contrast checker → · Palette generator →

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