#7D2C8F#7D2C8F

#7D2C8F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.167 H 319.8°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7D2C8F
RGBrgb(125, 44, 143)
HSLhsl(289, 53%, 37%)
HSVhsv(289, 69%, 56%)
CMYKcmyk(12.6%, 69.2%, 0%, 43.9%)
CIE-LABlab(34.28, 49.29, -38.64)
CIE-LCHlch(34.28, 62.63, 321.90°)
OKLaboklab(45.49% 0.1279 -0.1081)
OKLCHoklch(45.49% 0.167 319.8)
XYZxyz(14.3154, 8.1452, 26.7994)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C8F #3E8F2C
analogous
#4C2C8F #7D2C8F #8F2C70
triadic
#7D2C8F #8F7D2C #2C8F7D
tetradic
#7D2C8F #8F4C2C #3E8F2C #2C708F
square
#7D2C8F #8F4C2C #3E8F2C #2C708F
split-complementary
#7D2C8F #708F2C #2C8F4C
monochromatic
#2B0F31 #541E60 #7D2C8F #A63ABE #BC66D0

Accessibility & contrast

On white

7.99
#7D2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7D2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C8F
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C8F#FFFFFF#000000##FFFFFF
##7D2C8F1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054B92
Deuteranopia (green-blind)
#34538D
Tritanopia (blue-blind)
#7D3E5A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2c8f;
/* rgb */ color: rgb(125, 44, 143);
/* oklch */ color: oklch(45.5% 0.167 319.8);
Tailwind
colors: {
  custom: {
    50: '#a66cb0',
    500: '#7d2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c8f;
$custom-light: #a66cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c8f",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 289.091,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.45491,
    "c": 0.16749,
    "h": 319.8
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#7D2C8F
secondary
#70B661
accent
#DC4B66
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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