#7D2587#7D2587

#7D2587 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.169 H 323.5°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#7D2587
RGBrgb(125, 37, 135)
HSLhsl(294, 57%, 34%)
HSVhsv(294, 73%, 53%)
CMYKcmyk(7.4%, 72.6%, 0%, 47.1%)
CIE-LABlab(32.77, 50.59, -36.12)
CIE-LCHlch(32.77, 62.16, 324.48°)
OKLaboklab(44.25% 0.1359 -0.1007)
OKLCHoklch(44.25% 0.169 323.5)
XYZxyz(13.4918, 7.4332, 23.6411)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2587 #2F8725
analogous
#4C2587 #7D2587 #872560
triadic
#7D2587 #877D25 #25877D
tetradic
#7D2587 #874C25 #2F8725 #256087
square
#7D2587 #874C25 #2F8725 #256087
split-complementary
#7D2587 #608725 #25874C
monochromatic
#240B27 #511857 #7D2587 #A932B7 #C456D1

Accessibility & contrast

On white

8.45
#7D2587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7D2587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2587
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2587#FFFFFF#000000##FFFFFF
##7D25871.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04468A
Deuteranopia (green-blind)
#355185
Tritanopia (blue-blind)
#7F3653
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2587;
/* rgb */ color: rgb(125, 37, 135);
/* oklch */ color: oklch(44.2% 0.169 323.5);
Tailwind
colors: {
  custom: {
    50: '#a668aa',
    500: '#7d2587',
    950: '#000000',
  },
}
SCSS
$custom: #7d2587;
$custom-light: #a668aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2587",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 293.878,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44249,
    "c": 0.16915,
    "h": 323.5
  },
  "luminance": 0.07432
}

Semantic roles & 50–950 ramp

primary
#7D2587
secondary
#5DB553
accent
#E04857
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2587

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

Preview Lab → · Contrast checker → · Palette generator →

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