#7D2F89#7D2F89

#7D2F89 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.5% C 0.158 H 322.1°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#7D2F89
RGBrgb(125, 47, 137)
HSLhsl(292, 49%, 36%)
HSVhsv(292, 66%, 54%)
CMYKcmyk(8.8%, 65.7%, 0%, 46.3%)
CIE-LABlab(34.40, 46.76, -34.77)
CIE-LCHlch(34.40, 58.27, 323.37°)
OKLaboklab(45.46% 0.1244 -0.0968)
OKLCHoklch(45.46% 0.158 322.1)
XYZxyz(13.9888, 8.1999, 24.5080)
Luminance0.0820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F89 #3B892F
analogous
#502F89 #7D2F89 #892F68
triadic
#7D2F89 #897D2F #2F897D
tetradic
#7D2F89 #89502F #3B892F #2F6889
square
#7D2F89 #89502F #3B892F #2F6889
split-complementary
#7D2F89 #68892F #2F8950
monochromatic
#2A102E #531F5B #7D2F89 #A73FB7 #BE67CB

Accessibility & contrast

On white

7.96
#7D2F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7D2F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F89
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F89#FFFFFF#000000##FFFFFF
##7D2F891.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194B8C
Deuteranopia (green-blind)
#3A5487
Tritanopia (blue-blind)
#7F3D58
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2f89;
/* rgb */ color: rgb(125, 47, 137);
/* oklch */ color: oklch(45.5% 0.158 322.1);
Tailwind
colors: {
  custom: {
    50: '#a56dac',
    500: '#7d2f89',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f89;
$custom-light: #a56dac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f89",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 292,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45455,
    "c": 0.15767,
    "h": 322.1
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#7D2F89
secondary
#6CB262
accent
#D84F62
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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