#7B528C#7B528C

#7B528C is a mid, moderate purple. Relative luminance 0.121; OKLCH L 50.6% C 0.101 H 315.5°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7B528C
RGBrgb(123, 82, 140)
HSLhsl(282, 26%, 44%)
HSVhsv(282, 41%, 55%)
CMYKcmyk(12.1%, 41.4%, 0%, 45.1%)
CIE-LABlab(41.44, 28.04, -25.54)
CIE-LCHlch(41.44, 37.93, 317.66°)
OKLaboklab(50.65% 0.0718 -0.0704)
OKLCHoklch(50.65% 0.101 315.5)
XYZxyz(15.9186, 12.1394, 26.3104)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B528C #638C52
analogous
#5E528C #7B528C #8C5280
triadic
#7B528C #8C7B52 #528C7B
tetradic
#7B528C #8C5E52 #638C52 #52808C
square
#7B528C #8C5E52 #638C52 #52808C
split-complementary
#7B528C #808C52 #528C5E
monochromatic
#37253F #593B65 #7B528C #9A70AB #B597C2

Accessibility & contrast

On white

6.13
#7B528C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B528C
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B528C#FFFFFF#000000##FFFFFF
##7B528C1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485F8E
Deuteranopia (green-blind)
#53638A
Tritanopia (blue-blind)
#7A5A68
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7b528c;
/* rgb */ color: rgb(123, 82, 140);
/* oklch */ color: oklch(50.6% 0.101 315.5);
Tailwind
colors: {
  custom: {
    50: '#a283ae',
    500: '#7b528c',
    950: '#000000',
  },
}
SCSS
$custom: #7b528c;
$custom-light: #a283ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7b528c",
  "rgb": {
    "r": 123,
    "g": 82,
    "b": 140
  },
  "hsl": {
    "h": 282.414,
    "s": 26.126,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50649,
    "c": 0.10058,
    "h": 315.5
  },
  "luminance": 0.12139
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B528C

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

Preview Lab → · Contrast checker → · Palette generator →

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