#7D1988#7D1988

#7D1988 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.3% C 0.183 H 323.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#7D1988
RGBrgb(125, 25, 136)
HSLhsl(294, 69%, 32%)
HSVhsv(294, 82%, 53%)
CMYKcmyk(8.1%, 81.6%, 0%, 46.7%)
CIE-LABlab(31.43, 54.83, -38.89)
CIE-LCHlch(31.43, 67.22, 324.65°)
OKLaboklab(43.31% 0.1469 -0.1087)
OKLCHoklch(43.31% 0.183 323.5)
XYZxyz(13.2486, 6.8336, 23.9090)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1988 #248819
analogous
#461988 #7D1988 #88195C
triadic
#7D1988 #887D19 #19887D
tetradic
#7D1988 #884619 #248819 #195C88
square
#7D1988 #884619 #248819 #195C88
split-complementary
#7D1988 #5C8819 #198846
monochromatic
#1E0621 #4D0F54 #7D1988 #AD23BC #CC40DC

Accessibility & contrast

On white

8.87
#7D1988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7D1988 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1988
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1988#FFFFFF#000000##FFFFFF
##7D19881.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#2E4E86
Tritanopia (blue-blind)
#7F3051
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1988;
/* rgb */ color: rgb(125, 25, 136);
/* oklch */ color: oklch(43.3% 0.183 323.5);
Tailwind
colors: {
  custom: {
    50: '#a664ab',
    500: '#7d1988',
    950: '#000000',
  },
}
SCSS
$custom: #7d1988;
$custom-light: #a664ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1988",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 136
  },
  "hsl": {
    "h": 294.054,
    "s": 68.944,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4331,
    "c": 0.18276,
    "h": 323.5
  },
  "luminance": 0.06833
}

Semantic roles & 50–950 ramp

primary
#7D1988
secondary
#4DBB41
accent
#EC3C4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1988

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

Preview Lab → · Contrast checker → · Palette generator →

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