#7D2889#7D2889

#7D2889 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.167 H 322.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7D2889
RGBrgb(125, 40, 137)
HSLhsl(293, 55%, 35%)
HSVhsv(293, 71%, 54%)
CMYKcmyk(8.8%, 70.8%, 0%, 46.3%)
CIE-LABlab(33.32, 49.78, -36.49)
CIE-LCHlch(33.32, 61.72, 323.76°)
OKLaboklab(44.68% 0.1326 -0.1018)
OKLCHoklch(44.68% 0.167 322.5)
XYZxyz(13.7311, 7.6845, 24.4221)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2889 #348928
analogous
#4C2889 #7D2889 #892865
triadic
#7D2889 #897D28 #28897D
tetradic
#7D2889 #894C28 #348928 #286589
square
#7D2889 #894C28 #348928 #286589
split-complementary
#7D2889 #658928 #28894C
monochromatic
#270C2A #521A5A #7D2889 #A836B8 #C15CCF

Accessibility & contrast

On white

8.28
#7D2889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7D2889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2889
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2889#FFFFFF#000000##FFFFFF
##7D28891.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08488C
Deuteranopia (green-blind)
#365287
Tritanopia (blue-blind)
#7F3955
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2889;
/* rgb */ color: rgb(125, 40, 137);
/* oklch */ color: oklch(44.7% 0.167 322.5);
Tailwind
colors: {
  custom: {
    50: '#a66aac',
    500: '#7d2889',
    950: '#000000',
  },
}
SCSS
$custom: #7d2889;
$custom-light: #a66aac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2889",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 137
  },
  "hsl": {
    "h": 292.577,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44678,
    "c": 0.16718,
    "h": 322.5
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#7D2889
secondary
#64B558
accent
#DE4A5C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2889

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

Preview Lab → · Contrast checker → · Palette generator →

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