#7D2C9C#7D2C9C

#7D2C9C is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.4% C 0.180 H 314.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#7D2C9C
RGBrgb(125, 44, 156)
HSLhsl(283, 56%, 39%)
HSVhsv(283, 72%, 61%)
CMYKcmyk(19.9%, 71.8%, 0%, 38.8%)
CIE-LABlab(35.13, 51.96, -45.22)
CIE-LCHlch(35.13, 68.88, 318.96°)
OKLaboklab(46.37% 0.127 -0.1274)
OKLCHoklch(46.37% 0.18 314.9)
XYZxyz(15.3579, 8.5622, 32.2897)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C9C #4B9C2C
analogous
#452C9C #7D2C9C #9C2C83
triadic
#7D2C9C #9C7D2C #2C9C7D
tetradic
#7D2C9C #9C452C #4B9C2C #2C839C
square
#7D2C9C #9C452C #4B9C2C #2C839C
split-complementary
#7D2C9C #839C2C #2C9C45
monochromatic
#31113D #571F6C #7D2C9C #A23DC8 #B96DD6

Accessibility & contrast

On white

7.74
#7D2C9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#7D2C9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C9C
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C9C#FFFFFF#000000##FFFFFF
##7D2C9C1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#285599
Tritanopia (blue-blind)
#7A4361
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7d2c9c;
/* rgb */ color: rgb(125, 44, 156);
/* oklch */ color: oklch(46.4% 0.180 314.9);
Tailwind
colors: {
  custom: {
    50: '#a66dba',
    500: '#7d2c9c',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c9c;
$custom-light: #a66dba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c9c",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 283.393,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46365,
    "c": 0.1799,
    "h": 314.9
  },
  "luminance": 0.08562
}

Semantic roles & 50–950 ramp

primary
#7D2C9C
secondary
#7FBD67
accent
#DF4972
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D2C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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