#954CAA#954CAA

#954CAA is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.4% C 0.158 H 318.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#954CAA
RGBrgb(149, 76, 170)
HSLhsl(287, 38%, 48%)
HSVhsv(287, 55%, 67%)
CMYKcmyk(12.4%, 55.3%, 0%, 33.3%)
CIE-LABlab(44.89, 45.63, -37.83)
CIE-LCHlch(44.89, 59.27, 320.34°)
OKLaboklab(54.41% 0.1179 -0.1053)
OKLCHoklch(54.41% 0.158 318.2)
XYZxyz(22.2336, 14.4616, 39.6426)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#954CAA #61AA4C
analogous
#664CAA #954CAA #AA4C90
triadic
#954CAA #AA954C #4CAA95
tetradic
#954CAA #AA664C #61AA4C #4C90AA
square
#954CAA #AA664C #61AA4C #4C90AA
split-complementary
#954CAA #90AA4C #4CAA66
monochromatic
#4B2655 #703980 #954CAA #AF73C0 #C79DD3

Accessibility & contrast

On white

5.40
#954CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#954CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #954CAA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##954CAA#FFFFFF#000000##FFFFFF
##954CAA1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#506DA8
Tritanopia (blue-blind)
#955A74
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #954caa;
/* rgb */ color: rgb(149, 76, 170);
/* oklch */ color: oklch(54.4% 0.158 318.2);
Tailwind
colors: {
  custom: {
    50: '#b681c4',
    500: '#954caa',
    950: '#000000',
  },
}
SCSS
$custom: #954caa;
$custom-light: #b681c4;
$custom-dark: #000000;
JSON
{
  "hex": "#954caa",
  "rgb": {
    "r": 149,
    "g": 76,
    "b": 170
  },
  "hsl": {
    "h": 286.596,
    "s": 38.211,
    "l": 48.235
  },
  "oklch": {
    "l": 0.5441,
    "c": 0.15803,
    "h": 318.2
  },
  "luminance": 0.14461
}

Semantic roles & 50–950 ramp

primary
#954CAA
secondary
#9CC092
accent
#CE5A74
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B12
muted
#807C81

Preview Lab

Preview with #954CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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