#7D2C8A#7D2C8A

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

Color values

HEX#7D2C8A
RGBrgb(125, 44, 138)
HSLhsl(292, 52%, 36%)
HSVhsv(292, 68%, 54%)
CMYKcmyk(9.4%, 68.1%, 0%, 45.9%)
CIE-LABlab(33.98, 48.30, -36.05)
CIE-LCHlch(33.98, 60.27, 323.26°)
OKLaboklab(45.17% 0.128 -0.1006)
OKLCHoklch(45.17% 0.163 321.9)
XYZxyz(13.9451, 7.9971, 24.8489)
Luminance0.0800 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C8A #398A2C
analogous
#4E2C8A #7D2C8A #8A2C68
triadic
#7D2C8A #8A7D2C #2C8A7D
tetradic
#7D2C8A #8A4E2C #398A2C #2C688A
square
#7D2C8A #8A4E2C #398A2C #2C688A
split-complementary
#7D2C8A #688A2C #2C8A4E
monochromatic
#290E2D #531D5C #7D2C8A #A73BB8 #BF63CD

Accessibility & contrast

On white

8.08
#7D2C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7D2C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C8A
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C8A#FFFFFF#000000##FFFFFF
##7D2C8A1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114A8D
Deuteranopia (green-blind)
#385388
Tritanopia (blue-blind)
#7E3C57
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2c8a;
/* rgb */ color: rgb(125, 44, 138);
/* oklch */ color: oklch(45.2% 0.163 321.9);
Tailwind
colors: {
  custom: {
    50: '#a66cac',
    500: '#7d2c8a',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c8a;
$custom-light: #a66cac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c8a",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 291.702,
    "s": 51.648,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45172,
    "c": 0.16281,
    "h": 321.9
  },
  "luminance": 0.07996
}

Semantic roles & 50–950 ramp

primary
#7D2C8A
secondary
#6AB45E
accent
#DB4D60
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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