#954C8A#954C8A

#954C8A is a mid, vivid purple. Relative luminance 0.134; OKLCH L 52.8% C 0.127 H 333.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#954C8A
RGBrgb(149, 76, 138)
HSLhsl(309, 32%, 44%)
HSVhsv(309, 49%, 58%)
CMYKcmyk(0%, 49%, 7.4%, 41.6%)
CIE-LABlab(43.35, 39.40, -21.10)
CIE-LCHlch(43.35, 44.70, 331.83°)
OKLaboklab(52.77% 0.1129 -0.0572)
OKLCHoklch(52.77% 0.127 333.1)
XYZxyz(19.5662, 13.3946, 25.5947)
Luminance0.1339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954C8A #4C9557
analogous
#7C4C95 #954C8A #954C66
triadic
#954C8A #8A954C #4C8A95
tetradic
#954C8A #957C4C #4C9557 #4C6695
square
#954C8A #957C4C #4C9557 #4C6695
split-complementary
#954C8A #66954C #4C957C
monochromatic
#44233F #6C3764 #954C8A #B36BA8 #C893C0

Accessibility & contrast

On white

5.71
#954C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#954C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954C8A
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954C8A#FFFFFF#000000##FFFFFF
##954C8A1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#5F6A88
Tritanopia (blue-blind)
#9B5064
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #954c8a;
/* rgb */ color: rgb(149, 76, 138);
/* oklch */ color: oklch(52.8% 0.127 333.1);
Tailwind
colors: {
  custom: {
    50: '#b681ac',
    500: '#954c8a',
    950: '#000000',
  },
}
SCSS
$custom: #954c8a;
$custom-light: #b681ac;
$custom-dark: #000000;
JSON
{
  "hex": "#954c8a",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 309.041,
    "s": 32.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52773,
    "c": 0.12657,
    "h": 333.1
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#954C8A
secondary
#88B48F
accent
#C96F5F
background
#FBF8FA
surface
#F6EFF4
border
#D0CACE
text
#110A10
muted
#807C7F

Preview Lab

Preview with #954C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#954C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva