#7D2A89#7D2A89

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

Color values

HEX#7D2A89
RGBrgb(125, 42, 137)
HSLhsl(292, 53%, 35%)
HSVhsv(292, 69%, 54%)
CMYKcmyk(8.8%, 69.3%, 0%, 46.3%)
CIE-LABlab(33.61, 48.96, -36.02)
CIE-LCHlch(33.61, 60.78, 323.66°)
OKLaboklab(44.89% 0.1304 -0.1004)
OKLCHoklch(44.89% 0.165 322.4)
XYZxyz(13.8003, 7.8228, 24.4451)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2A89 #36892A
analogous
#4D2A89 #7D2A89 #892A66
triadic
#7D2A89 #897D2A #2A897D
tetradic
#7D2A89 #894D2A #36892A #2A6689
square
#7D2A89 #894D2A #36892A #2A6689
split-complementary
#7D2A89 #66892A #2A894D
monochromatic
#280D2B #521C5A #7D2A89 #A838B8 #C05FCE

Accessibility & contrast

On white

8.19
#7D2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7D2A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2A89
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2A89#FFFFFF#000000##FFFFFF
##7D2A891.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E498C
Deuteranopia (green-blind)
#375287
Tritanopia (blue-blind)
#7F3A56
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2a89;
/* rgb */ color: rgb(125, 42, 137);
/* oklch */ color: oklch(44.9% 0.165 322.4);
Tailwind
colors: {
  custom: {
    50: '#a66bac',
    500: '#7d2a89',
    950: '#000000',
  },
}
SCSS
$custom: #7d2a89;
$custom-light: #a66bac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2a89",
  "rgb": {
    "r": 125,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 292.421,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44889,
    "c": 0.16457,
    "h": 322.4
  },
  "luminance": 0.07822
}

Semantic roles & 50–950 ramp

primary
#7D2A89
secondary
#66B45B
accent
#DC4B5E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2A89

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

Preview Lab → · Contrast checker → · Palette generator →

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