#7D1889#7D1889

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

Color values

HEX#7D1889
RGBrgb(125, 24, 137)
HSLhsl(294, 70%, 32%)
HSVhsv(294, 82%, 54%)
CMYKcmyk(8.8%, 82.5%, 0%, 46.3%)
CIE-LABlab(31.39, 55.29, -39.56)
CIE-LCHlch(31.39, 67.99, 324.41°)
OKLaboklab(43.31% 0.1476 -0.1107)
OKLCHoklch(43.31% 0.184 323.1)
XYZxyz(13.2990, 6.8202, 24.2780)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1889 #248918
analogous
#451889 #7D1889 #89185D
triadic
#7D1889 #897D18 #18897D
tetradic
#7D1889 #894518 #248918 #185D89
square
#7D1889 #894518 #248918 #185D89
split-complementary
#7D1889 #5D8918 #188945
monochromatic
#1E0621 #4D0F55 #7D1889 #AD21BD #CC3EDD

Accessibility & contrast

On white

8.88
#7D1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1889
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1889#FFFFFF#000000##FFFFFF
##7D18891.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1889;
/* rgb */ color: rgb(125, 24, 137);
/* oklch */ color: oklch(43.3% 0.184 323.1);
Tailwind
colors: {
  custom: {
    50: '#a663ac',
    500: '#7d1889',
    950: '#000000',
  },
}
SCSS
$custom: #7d1889;
$custom-light: #a663ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1889",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 293.628,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4331,
    "c": 0.18446,
    "h": 323.1
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#7D1889
secondary
#4DBD40
accent
#ED3B4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D1889

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

Preview Lab → · Contrast checker → · Palette generator →

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