#7D2C8C#7D2C8C

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

Color values

HEX#7D2C8C
RGBrgb(125, 44, 140)
HSLhsl(291, 52%, 36%)
HSVhsv(291, 69%, 55%)
CMYKcmyk(10.7%, 68.6%, 0%, 45.1%)
CIE-LABlab(34.10, 48.69, -37.09)
CIE-LCHlch(34.10, 61.21, 322.70°)
OKLaboklab(45.3% 0.128 -0.1036)
OKLCHoklch(45.3% 0.165 321)
XYZxyz(14.0912, 8.0555, 25.6185)
Luminance0.0805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C8C #3B8C2C
analogous
#4D2C8C #7D2C8C #8C2C6B
triadic
#7D2C8C #8C7D2C #2C8C7D
tetradic
#7D2C8C #8C4D2C #3B8C2C #2C6B8C
square
#7D2C8C #8C4D2C #3B8C2C #2C6B8C
split-complementary
#7D2C8C #6B8C2C #2C8C4D
monochromatic
#2A0F2F #531D5D #7D2C8C #A73BBB #BE64CE

Accessibility & contrast

On white

8.04
#7D2C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7D2C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C8C
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C8C#FFFFFF#000000##FFFFFF
##7D2C8C1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4A8F
Deuteranopia (green-blind)
#36538A
Tritanopia (blue-blind)
#7E3D58
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2c8c;
/* rgb */ color: rgb(125, 44, 140);
/* oklch */ color: oklch(45.3% 0.165 321.0);
Tailwind
colors: {
  custom: {
    50: '#a66cae',
    500: '#7d2c8c',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c8c;
$custom-light: #a66cae;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c8c",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 290.625,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45298,
    "c": 0.16467,
    "h": 321
  },
  "luminance": 0.08055
}

Semantic roles & 50–950 ramp

primary
#7D2C8C
secondary
#6CB55F
accent
#DC4C63
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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