#7B528D#7B528D

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

Color values

HEX#7B528D
RGBrgb(123, 82, 141)
HSLhsl(282, 26%, 44%)
HSVhsv(282, 42%, 55%)
CMYKcmyk(12.8%, 41.8%, 0%, 44.7%)
CIE-LABlab(41.48, 28.26, -26.07)
CIE-LCHlch(41.48, 38.45, 317.30°)
OKLaboklab(50.7% 0.072 -0.072)
OKLCHoklch(50.7% 0.102 315)
XYZxyz(15.9926, 12.1690, 26.7005)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B528D #648D52
analogous
#5D528D #7B528D #8D5281
triadic
#7B528D #8D7B52 #528D7B
tetradic
#7B528D #8D5D52 #648D52 #52818D
square
#7B528D #8D5D52 #648D52 #52818D
split-complementary
#7B528D #818D52 #528D5D
monochromatic
#372540 #593B66 #7B528D #9A70AC #B597C2

Accessibility & contrast

On white

6.12
#7B528D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7B528D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B528D
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B528D#FFFFFF#000000##FFFFFF
##7B528D1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485F8F
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#7A5A69
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b528d;
/* rgb */ color: rgb(123, 82, 141);
/* oklch */ color: oklch(50.7% 0.102 315.0);
Tailwind
colors: {
  custom: {
    50: '#a283ae',
    500: '#7b528d',
    950: '#000000',
  },
}
SCSS
$custom: #7b528d;
$custom-light: #a283ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7b528d",
  "rgb": {
    "r": 123,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 281.695,
    "s": 26.457,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50699,
    "c": 0.10182,
    "h": 315
  },
  "luminance": 0.12169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B528D

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

Preview Lab → · Contrast checker → · Palette generator →

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