#7D2D87#7D2D87

#7D2D87 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.159 H 323.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7D2D87
RGBrgb(125, 45, 135)
HSLhsl(293, 50%, 35%)
HSVhsv(293, 67%, 53%)
CMYKcmyk(7.4%, 66.7%, 0%, 47.1%)
CIE-LABlab(33.96, 47.27, -34.23)
CIE-LCHlch(33.96, 58.36, 324.09°)
OKLaboklab(45.1% 0.1268 -0.0953)
OKLCHoklch(45.1% 0.159 323.1)
XYZxyz(13.7686, 7.9868, 23.7333)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D87 #37872D
analogous
#502D87 #7D2D87 #872D64
triadic
#7D2D87 #877D2D #2D877D
tetradic
#7D2D87 #87502D #37872D #2D6487
square
#7D2D87 #87502D #37872D #2D6487
split-complementary
#7D2D87 #64872D #2D8750
monochromatic
#280E2B #521E59 #7D2D87 #A73CB5 #C063CB

Accessibility & contrast

On white

8.09
#7D2D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7D2D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D87
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D87#FFFFFF#000000##FFFFFF
##7D2D871.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184A8A
Deuteranopia (green-blind)
#3A5385
Tritanopia (blue-blind)
#7F3B56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2d87;
/* rgb */ color: rgb(125, 45, 135);
/* oklch */ color: oklch(45.1% 0.159 323.1);
Tailwind
colors: {
  custom: {
    50: '#a56caa',
    500: '#7d2d87',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d87;
$custom-light: #a56caa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d87",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 135
  },
  "hsl": {
    "h": 293.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45099,
    "c": 0.15863,
    "h": 323.1
  },
  "luminance": 0.07986
}

Semantic roles & 50–950 ramp

primary
#7D2D87
secondary
#67B25E
accent
#DA4E5E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2D87

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

Preview Lab → · Contrast checker → · Palette generator →

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