#7D2D89#7D2D89

#7D2D89 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.160 H 322.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7D2D89
RGBrgb(125, 45, 137)
HSLhsl(292, 51%, 36%)
HSVhsv(292, 67%, 54%)
CMYKcmyk(8.8%, 67.2%, 0%, 46.3%)
CIE-LABlab(34.07, 47.66, -35.28)
CIE-LCHlch(34.07, 59.30, 323.49°)
OKLaboklab(45.22% 0.1269 -0.0983)
OKLCHoklch(45.22% 0.16 322.2)
XYZxyz(13.9107, 8.0436, 24.4819)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D89 #39892D
analogous
#4F2D89 #7D2D89 #892D67
triadic
#7D2D89 #897D2D #2D897D
tetradic
#7D2D89 #894F2D #39892D #2D6789
square
#7D2D89 #894F2D #39892D #2D6789
split-complementary
#7D2D89 #67892D #2D894F
monochromatic
#290F2D #531E5B #7D2D89 #A73CB7 #BF64CC

Accessibility & contrast

On white

8.05
#7D2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7D2D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D89
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D89#FFFFFF#000000##FFFFFF
##7D2D891.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8C
Deuteranopia (green-blind)
#395387
Tritanopia (blue-blind)
#7F3C57
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2d89;
/* rgb */ color: rgb(125, 45, 137);
/* oklch */ color: oklch(45.2% 0.160 322.2);
Tailwind
colors: {
  custom: {
    50: '#a56cac',
    500: '#7d2d89',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d89;
$custom-light: #a56cac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d89",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 292.174,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45222,
    "c": 0.16049,
    "h": 322.2
  },
  "luminance": 0.08043
}

Semantic roles & 50–950 ramp

primary
#7D2D89
secondary
#6AB35F
accent
#DA4E60
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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