#7D1989#7D1989

#7D1989 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.4% C 0.184 H 323.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#7D1989
RGBrgb(125, 25, 137)
HSLhsl(294, 69%, 32%)
HSVhsv(294, 82%, 54%)
CMYKcmyk(8.8%, 81.8%, 0%, 46.3%)
CIE-LABlab(31.49, 55.01, -39.41)
CIE-LCHlch(31.49, 67.67, 324.38°)
OKLaboklab(43.38% 0.1468 -0.1102)
OKLCHoklch(43.38% 0.184 323.1)
XYZxyz(13.3200, 6.8622, 24.2850)
Luminance0.0686 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1989 #258919
analogous
#451989 #7D1989 #89195D
triadic
#7D1989 #897D19 #19897D
tetradic
#7D1989 #894519 #258919 #195D89
square
#7D1989 #894519 #258919 #195D89
split-complementary
#7D1989 #5D8919 #198945
monochromatic
#1F0621 #4E1055 #7D1989 #AC22BD #CB40DC

Accessibility & contrast

On white

8.85
#7D1989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1989
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1989#FFFFFF#000000##FFFFFF
##7D19891.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#2D4E87
Tritanopia (blue-blind)
#7F3052
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d1989;
/* rgb */ color: rgb(125, 25, 137);
/* oklch */ color: oklch(43.4% 0.184 323.1);
Tailwind
colors: {
  custom: {
    50: '#a664ac',
    500: '#7d1989',
    950: '#000000',
  },
}
SCSS
$custom: #7d1989;
$custom-light: #a664ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1989",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 293.571,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43378,
    "c": 0.18357,
    "h": 323.1
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#7D1989
secondary
#4FBC41
accent
#EC3C4F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1989

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

Preview Lab → · Contrast checker → · Palette generator →

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