#7A528D#7A528D

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

Color values

HEX#7A528D
RGBrgb(122, 82, 141)
HSLhsl(281, 26%, 44%)
HSVhsv(281, 42%, 55%)
CMYKcmyk(13.5%, 41.8%, 0%, 44.7%)
CIE-LABlab(41.37, 27.94, -26.26)
CIE-LCHlch(41.37, 38.35, 316.77°)
OKLaboklab(50.59% 0.0707 -0.0725)
OKLCHoklch(50.59% 0.101 314.3)
XYZxyz(15.8503, 12.0956, 26.6939)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A528D #658D52
analogous
#5C528D #7A528D #8D5282
triadic
#7A528D #8D7A52 #528D7A
tetradic
#7A528D #8D5C52 #658D52 #52828D
square
#7A528D #8D5C52 #658D52 #52828D
split-complementary
#7A528D #828D52 #528D5C
monochromatic
#372540 #593B66 #7A528D #9970AC #B497C2

Accessibility & contrast

On white

6.14
#7A528D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7A528D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A528D
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A528D#FFFFFF#000000##FFFFFF
##7A528D1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475F8F
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#795A69
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7a528d;
/* rgb */ color: rgb(122, 82, 141);
/* oklch */ color: oklch(50.6% 0.101 314.3);
Tailwind
colors: {
  custom: {
    50: '#a183ae',
    500: '#7a528d',
    950: '#000000',
  },
}
SCSS
$custom: #7a528d;
$custom-light: #a183ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7a528d",
  "rgb": {
    "r": 122,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 280.678,
    "s": 26.457,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50586,
    "c": 0.10132,
    "h": 314.3
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#7A528D
secondary
#97AF8B
accent
#C36583
background
#FAF8FA
surface
#F3EFF4
border
#CDCACE
text
#0F0B10
muted
#7F7C7F

Preview Lab

Preview with #7A528D

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

Preview Lab → · Contrast checker → · Palette generator →

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