#7D2488#7D2488

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

Color values

HEX#7D2488
RGBrgb(125, 36, 136)
HSLhsl(293, 58%, 34%)
HSVhsv(293, 74%, 53%)
CMYKcmyk(8.1%, 73.5%, 0%, 46.7%)
CIE-LABlab(32.70, 51.16, -36.85)
CIE-LCHlch(32.70, 63.05, 324.24°)
OKLaboklab(44.22% 0.1369 -0.1028)
OKLCHoklch(44.22% 0.171 323.1)
XYZxyz(13.5318, 7.4001, 24.0034)
Luminance0.0740 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2488 #2F8824
analogous
#4B2488 #7D2488 #882461
triadic
#7D2488 #887D24 #24887D
tetradic
#7D2488 #884B24 #2F8824 #246188
square
#7D2488 #884B24 #2F8824 #246188
split-complementary
#7D2488 #618824 #24884B
monochromatic
#240A27 #511758 #7D2488 #A931B8 #C455D2

Accessibility & contrast

On white

8.47
#7D2488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7D2488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2488
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2488#FFFFFF#000000##FFFFFF
##7D24881.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#345086
Tritanopia (blue-blind)
#7F3654
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2488;
/* rgb */ color: rgb(125, 36, 136);
/* oklch */ color: oklch(44.2% 0.171 323.1);
Tailwind
colors: {
  custom: {
    50: '#a668ab',
    500: '#7d2488',
    950: '#000000',
  },
}
SCSS
$custom: #7d2488;
$custom-light: #a668ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2488",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 293.4,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44217,
    "c": 0.17123,
    "h": 323.1
  },
  "luminance": 0.07399
}

Semantic roles & 50–950 ramp

primary
#7D2488
secondary
#5DB652
accent
#E14657
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2488

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

Preview Lab → · Contrast checker → · Palette generator →

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