#7D528D#7D528D

#7D528D is a mid, moderate purple. Relative luminance 0.123; OKLCH L 50.9% C 0.103 H 316.5°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7D528D
RGBrgb(125, 82, 141)
HSLhsl(284, 26%, 44%)
HSVhsv(284, 42%, 55%)
CMYKcmyk(11.3%, 41.8%, 0%, 44.7%)
CIE-LABlab(41.72, 28.91, -25.69)
CIE-LCHlch(41.72, 38.67, 318.37°)
OKLaboklab(50.93% 0.0746 -0.0708)
OKLCHoklch(50.93% 0.103 316.5)
XYZxyz(16.2817, 12.3181, 26.7141)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D528D #628D52
analogous
#5F528D #7D528D #8D527F
triadic
#7D528D #8D7D52 #528D7D
tetradic
#7D528D #8D5F52 #628D52 #527F8D
square
#7D528D #8D5F52 #628D52 #527F8D
split-complementary
#7D528D #7F8D52 #528D5F
monochromatic
#382540 #5B3B66 #7D528D #9C70AC #B797C2

Accessibility & contrast

On white

6.06
#7D528D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7D528D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D528D
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D528D#FFFFFF#000000##FFFFFF
##7D528D1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48608F
Deuteranopia (green-blind)
#53648B
Tritanopia (blue-blind)
#7D5A69
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7d528d;
/* rgb */ color: rgb(125, 82, 141);
/* oklch */ color: oklch(50.9% 0.103 316.5);
Tailwind
colors: {
  custom: {
    50: '#a483ae',
    500: '#7d528d',
    950: '#000000',
  },
}
SCSS
$custom: #7d528d;
$custom-light: #a483ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7d528d",
  "rgb": {
    "r": 125,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 283.729,
    "s": 26.457,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50927,
    "c": 0.10284,
    "h": 316.5
  },
  "luminance": 0.12318
}

Semantic roles & 50–950 ramp

primary
#7D528D
secondary
#95AF8B
accent
#C3657E
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7D528D

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

Preview Lab → · Contrast checker → · Palette generator →

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