#7C528D#7C528D

#7C528D is a mid, moderate purple. Relative luminance 0.122; OKLCH L 50.8% C 0.102 H 315.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7C528D
RGBrgb(124, 82, 141)
HSLhsl(283, 26%, 44%)
HSVhsv(283, 42%, 55%)
CMYKcmyk(12.1%, 41.8%, 0%, 44.7%)
CIE-LABlab(41.60, 28.58, -25.88)
CIE-LCHlch(41.60, 38.56, 317.84°)
OKLaboklab(50.81% 0.0733 -0.0714)
OKLCHoklch(50.81% 0.102 315.7)
XYZxyz(16.1365, 12.2432, 26.7073)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C528D #638D52
analogous
#5E528D #7C528D #8D5280
triadic
#7C528D #8D7C52 #528D7C
tetradic
#7C528D #8D5E52 #638D52 #52808D
square
#7C528D #8D5E52 #638D52 #52808D
split-complementary
#7C528D #808D52 #528D5E
monochromatic
#382540 #5A3B66 #7C528D #9B70AC #B697C2

Accessibility & contrast

On white

6.09
#7C528D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7C528D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C528D
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C528D#FFFFFF#000000##FFFFFF
##7C528D1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c528d;
/* rgb */ color: rgb(124, 82, 141);
/* oklch */ color: oklch(50.8% 0.102 315.7);
Tailwind
colors: {
  custom: {
    50: '#a383ae',
    500: '#7c528d',
    950: '#000000',
  },
}
SCSS
$custom: #7c528d;
$custom-light: #a383ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7c528d",
  "rgb": {
    "r": 124,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 282.712,
    "s": 26.457,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50813,
    "c": 0.10232,
    "h": 315.7
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#7C528D
secondary
#96AF8B
accent
#C36580
background
#FAF8FA
surface
#F4EFF4
border
#CECACE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7C528D

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

Preview Lab → · Contrast checker → · Palette generator →

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