#7D2C8D#7D2C8D

#7D2C8D is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.166 H 320.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#7D2C8D
RGBrgb(125, 44, 141)
HSLhsl(290, 52%, 36%)
HSVhsv(290, 69%, 55%)
CMYKcmyk(11.3%, 68.8%, 0%, 44.7%)
CIE-LABlab(34.16, 48.89, -37.61)
CIE-LCHlch(34.16, 61.68, 322.43°)
OKLaboklab(45.36% 0.128 -0.1051)
OKLCHoklch(45.36% 0.166 320.6)
XYZxyz(14.1653, 8.0851, 26.0086)
Luminance0.0808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C8D #3C8D2C
analogous
#4D2C8D #7D2C8D #8D2C6D
triadic
#7D2C8D #8D7D2C #2C8D7D
tetradic
#7D2C8D #8D4D2C #3C8D2C #2C6D8D
square
#7D2C8D #8D4D2C #3C8D2C #2C6D8D
split-complementary
#7D2C8D #6D8D2C #2C8D4D
monochromatic
#2A0F30 #541D5E #7D2C8D #A63BBC #BD65CF

Accessibility & contrast

On white

8.03
#7D2C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2C8D
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C8D#FFFFFF#000000##FFFFFF
##7D2C8D1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4B90
Deuteranopia (green-blind)
#36538B
Tritanopia (blue-blind)
#7E3D59
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2c8d;
/* rgb */ color: rgb(125, 44, 141);
/* oklch */ color: oklch(45.4% 0.166 320.6);
Tailwind
colors: {
  custom: {
    50: '#a66caf',
    500: '#7d2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c8d;
$custom-light: #a66caf;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c8d",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 290.103,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45362,
    "c": 0.16561,
    "h": 320.6
  },
  "luminance": 0.08084
}

Semantic roles & 50–950 ramp

primary
#7D2C8D
secondary
#6EB560
accent
#DC4C64
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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