#81547B#81547B

#81547B is a mid, moderate purple. Relative luminance 0.124; OKLCH L 50.9% C 0.082 H 331.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#81547B
RGBrgb(129, 84, 123)
HSLhsl(308, 21%, 42%)
HSVhsv(308, 35%, 51%)
CMYKcmyk(0%, 34.9%, 4.7%, 49.4%)
CIE-LABlab(41.90, 25.32, -14.43)
CIE-LCHlch(41.90, 29.14, 330.33°)
OKLaboklab(50.92% 0.0716 -0.0389)
OKLCHoklch(50.92% 0.082 331.5)
XYZxyz(15.7985, 12.4385, 20.3037)
Luminance0.1244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#81547B #54815A
analogous
#715481 #81547B #815465
triadic
#81547B #7B8154 #547B81
tetradic
#81547B #817154 #54815A #546581
square
#81547B #817154 #54815A #546581
split-complementary
#81547B #658154 #548171
monochromatic
#372434 #5C3C58 #81547B #A2709B #BA95B5

Accessibility & contrast

On white

6.02
#81547B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#81547B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #81547B
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##81547B#FFFFFF#000000##FFFFFF
##81547B1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7C
Deuteranopia (green-blind)
#5E657A
Tritanopia (blue-blind)
#855762
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #81547b;
/* rgb */ color: rgb(129, 84, 123);
/* oklch */ color: oklch(50.9% 0.082 331.5);
Tailwind
colors: {
  custom: {
    50: '#a685a1',
    500: '#81547b',
    950: '#000000',
  },
}
SCSS
$custom: #81547b;
$custom-light: #a685a1;
$custom-dark: #000000;
JSON
{
  "hex": "#81547b",
  "rgb": {
    "r": 129,
    "g": 84,
    "b": 123
  },
  "hsl": {
    "h": 308,
    "s": 21.127,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50923,
    "c": 0.08151,
    "h": 331.5
  },
  "luminance": 0.12438
}

Semantic roles & 50–950 ramp

primary
#81547B
secondary
#89A88D
accent
#BE756A
background
#FAF8F9
surface
#F4EFF2
border
#CECACC
text
#0F0B0F
muted
#7F7C7E

Preview Lab

Preview with #81547B

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

Preview Lab → · Contrast checker → · Palette generator →

#81547B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva