#7D2E89#7D2E89

#7D2E89 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.3% C 0.159 H 322.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7D2E89
RGBrgb(125, 46, 137)
HSLhsl(292, 50%, 36%)
HSVhsv(292, 66%, 54%)
CMYKcmyk(8.8%, 66.4%, 0%, 46.3%)
CIE-LABlab(34.23, 47.22, -35.03)
CIE-LCHlch(34.23, 58.79, 323.43°)
OKLaboklab(45.34% 0.1257 -0.0976)
OKLCHoklch(45.34% 0.159 322.2)
XYZxyz(13.9493, 8.1208, 24.4948)
Luminance0.0812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E89 #3A892E
analogous
#4F2E89 #7D2E89 #892E67
triadic
#7D2E89 #897D2E #2E897D
tetradic
#7D2E89 #894F2E #3A892E #2E6789
square
#7D2E89 #894F2E #3A892E #2E6789
split-complementary
#7D2E89 #67892E #2E894F
monochromatic
#290F2D #531F5B #7D2E89 #A73DB7 #BE66CC

Accessibility & contrast

On white

8.00
#7D2E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7D2E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E89
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E89#FFFFFF#000000##FFFFFF
##7D2E891.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174B8C
Deuteranopia (green-blind)
#3A5487
Tritanopia (blue-blind)
#7F3D57
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2e89;
/* rgb */ color: rgb(125, 46, 137);
/* oklch */ color: oklch(45.3% 0.159 322.2);
Tailwind
colors: {
  custom: {
    50: '#a56dac',
    500: '#7d2e89',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e89;
$custom-light: #a56dac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e89",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 292.088,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45337,
    "c": 0.15909,
    "h": 322.2
  },
  "luminance": 0.0812
}

Semantic roles & 50–950 ramp

primary
#7D2E89
secondary
#6BB260
accent
#D94F61
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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