#7D2387#7D2387

#7D2387 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.172 H 323.6°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7D2387
RGBrgb(125, 35, 135)
HSLhsl(294, 59%, 33%)
HSVhsv(294, 74%, 53%)
CMYKcmyk(7.4%, 74.1%, 0%, 47.1%)
CIE-LABlab(32.51, 51.35, -36.54)
CIE-LCHlch(32.51, 63.02, 324.56°)
OKLaboklab(44.06% 0.138 -0.1019)
OKLCHoklch(44.06% 0.172 323.6)
XYZxyz(13.4313, 7.3121, 23.6209)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2387 #2D8723
analogous
#4B2387 #7D2387 #87235F
triadic
#7D2387 #877D23 #23877D
tetradic
#7D2387 #874B23 #2D8723 #235F87
square
#7D2387 #874B23 #2D8723 #235F87
split-complementary
#7D2387 #5F8723 #23874B
monochromatic
#230A26 #501656 #7D2387 #AA30B8 #C552D2

Accessibility & contrast

On white

8.53
#7D2387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7D2387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2387
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2387#FFFFFF#000000##FFFFFF
##7D23871.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#345085
Tritanopia (blue-blind)
#7F3553
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2387;
/* rgb */ color: rgb(125, 35, 135);
/* oklch */ color: oklch(44.1% 0.172 323.6);
Tailwind
colors: {
  custom: {
    50: '#a668aa',
    500: '#7d2387',
    950: '#000000',
  },
}
SCSS
$custom: #7d2387;
$custom-light: #a668aa;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2387",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 294,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44059,
    "c": 0.17154,
    "h": 323.6
  },
  "luminance": 0.07311
}

Semantic roles & 50–950 ramp

primary
#7D2387
secondary
#5AB650
accent
#E24655
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2387

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

Preview Lab → · Contrast checker → · Palette generator →

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