#7D2989#7D2989

#7D2989 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.8% C 0.166 H 322.4°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7D2989
RGBrgb(125, 41, 137)
HSLhsl(293, 54%, 35%)
HSVhsv(293, 70%, 54%)
CMYKcmyk(8.8%, 70.1%, 0%, 46.3%)
CIE-LABlab(33.46, 49.37, -36.26)
CIE-LCHlch(33.46, 61.26, 323.71°)
OKLaboklab(44.78% 0.1315 -0.1011)
OKLCHoklch(44.78% 0.166 322.4)
XYZxyz(13.7653, 7.7528, 24.4334)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2989 #358929
analogous
#4D2989 #7D2989 #892965
triadic
#7D2989 #897D29 #29897D
tetradic
#7D2989 #894D29 #358929 #296589
square
#7D2989 #894D29 #358929 #296589
split-complementary
#7D2989 #658929 #29894D
monochromatic
#270D2B #521B5A #7D2989 #A837B8 #C15ECF

Accessibility & contrast

On white

8.23
#7D2989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D2989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2989
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2989#FFFFFF#000000##FFFFFF
##7D29891.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B498C
Deuteranopia (green-blind)
#365287
Tritanopia (blue-blind)
#7F3956
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2989;
/* rgb */ color: rgb(125, 41, 137);
/* oklch */ color: oklch(44.8% 0.166 322.4);
Tailwind
colors: {
  custom: {
    50: '#a66aac',
    500: '#7d2989',
    950: '#000000',
  },
}
SCSS
$custom: #7d2989;
$custom-light: #a66aac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2989",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 292.5,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44783,
    "c": 0.16588,
    "h": 322.4
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#7D2989
secondary
#65B45A
accent
#DD4A5D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2989

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

Preview Lab → · Contrast checker → · Palette generator →

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