#7D2487#7D2487

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

Color values

HEX#7D2487
RGBrgb(125, 36, 135)
HSLhsl(294, 58%, 34%)
HSVhsv(294, 73%, 53%)
CMYKcmyk(7.4%, 73.3%, 0%, 47.1%)
CIE-LABlab(32.64, 50.98, -36.33)
CIE-LCHlch(32.64, 62.60, 324.52°)
OKLaboklab(44.15% 0.137 -0.1013)
OKLCHoklch(44.15% 0.17 323.5)
XYZxyz(13.4611, 7.3718, 23.6308)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2487 #2E8724
analogous
#4B2487 #7D2487 #87245F
triadic
#7D2487 #877D24 #24877D
tetradic
#7D2487 #874B24 #2E8724 #245F87
square
#7D2487 #874B24 #2E8724 #245F87
split-complementary
#7D2487 #5F8724 #24874B
monochromatic
#240A26 #501757 #7D2487 #AA31B7 #C554D1

Accessibility & contrast

On white

8.49
#7D2487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7D2487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2487
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2487#FFFFFF#000000##FFFFFF
##7D24871.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01468A
Deuteranopia (green-blind)
#355085
Tritanopia (blue-blind)
#7F3553
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2487;
/* rgb */ color: rgb(125, 36, 135);
/* oklch */ color: oklch(44.2% 0.170 323.5);
Tailwind
colors: {
  custom: {
    50: '#a668aa',
    500: '#7d2487',
    950: '#000000',
  },
}
SCSS
$custom: #7d2487;
$custom-light: #a668aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2487",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 293.939,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44153,
    "c": 0.17036,
    "h": 323.5
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#7D2487
secondary
#5BB551
accent
#E14756
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2487

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

Preview Lab → · Contrast checker → · Palette generator →

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