#8F528D#8F528D

#8F528D is a mid, moderate purple. Relative luminance 0.138; OKLCH L 53.1% C 0.114 H 328.2°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#8F528D
RGBrgb(143, 82, 141)
HSLhsl(302, 27%, 44%)
HSVhsv(302, 43%, 56%)
CMYKcmyk(0%, 42.7%, 1.4%, 43.9%)
CIE-LABlab(43.94, 34.76, -22.07)
CIE-LCHlch(43.94, 41.17, 327.59°)
OKLaboklab(53.09% 0.097 -0.0601)
OKLCHoklch(53.09% 0.114 328.2)
XYZxyz(19.1524, 13.7982, 26.8486)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F528D #528F54
analogous
#73528F #8F528D #8F526F
triadic
#8F528D #8D8F52 #528D8F
tetradic
#8F528D #8F7352 #528F54 #526F8F
square
#8F528D #8F7352 #528F54 #526F8F
split-complementary
#8F528D #6F8F52 #528F73
monochromatic
#412540 #683C67 #8F528D #AD71AB #C498C2

Accessibility & contrast

On white

5.59
#8F528D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8F528D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F528D
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F528D#FFFFFF#000000##FFFFFF
##8F528D1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E638F
Deuteranopia (green-blind)
#5E6B8B
Tritanopia (blue-blind)
#935769
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f528d;
/* rgb */ color: rgb(143, 82, 141);
/* oklch */ color: oklch(53.1% 0.114 328.2);
Tailwind
colors: {
  custom: {
    50: '#b184ae',
    500: '#8f528d',
    950: '#000000',
  },
}
SCSS
$custom: #8f528d;
$custom-light: #b184ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8f528d",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 141
  },
  "hsl": {
    "h": 301.967,
    "s": 27.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53085,
    "c": 0.11416,
    "h": 328.2
  },
  "luminance": 0.13797
}

Semantic roles & 50–950 ramp

primary
#8F528D
secondary
#8CB18D
accent
#C36764
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110B10
muted
#807C7F

Preview Lab

Preview with #8F528D

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

Preview Lab → · Contrast checker → · Palette generator →

#8F528D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva