#9857AA#9857AA

#9857AA is a mid, vivid purple. Relative luminance 0.164; OKLCH L 56.4% C 0.141 H 318.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9857AA
RGBrgb(152, 87, 170)
HSLhsl(287, 33%, 50%)
HSVhsv(287, 49%, 67%)
CMYKcmyk(10.6%, 48.8%, 0%, 33.3%)
CIE-LABlab(47.49, 40.66, -33.71)
CIE-LCHlch(47.49, 52.82, 320.34°)
OKLaboklab(56.41% 0.106 -0.0933)
OKLCHoklch(56.41% 0.141 318.6)
XYZxyz(23.6118, 16.3949, 39.9432)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857AA #69AA57
analogous
#6E57AA #9857AA #AA5792
triadic
#9857AA #AA9857 #57AA98
tetradic
#9857AA #AA6E57 #69AA57 #5792AA
square
#9857AA #AA6E57 #69AA57 #5792AA
split-complementary
#9857AA #92AA57 #57AA6E
monochromatic
#502D59 #744282 #9857AA #B180BF #CAA8D3

Accessibility & contrast

On white

4.91
#9857AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9857AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9857AA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9857AA#FFFFFF#000000##FFFFFF
##9857AA1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496CAD
Deuteranopia (green-blind)
#5B73A8
Tritanopia (blue-blind)
#986279
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9857aa;
/* rgb */ color: rgb(152, 87, 170);
/* oklch */ color: oklch(56.4% 0.141 318.6);
Tailwind
colors: {
  custom: {
    50: '#b888c3',
    500: '#9857aa',
    950: '#000000',
  },
}
SCSS
$custom: #9857aa;
$custom-light: #b888c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9857aa",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 170
  },
  "hsl": {
    "h": 286.988,
    "s": 32.806,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56413,
    "c": 0.14125,
    "h": 318.6
  },
  "luminance": 0.16394
}

Semantic roles & 50–950 ramp

primary
#9857AA
secondary
#A4C19C
accent
#C95F76
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C12
muted
#817D81

Preview Lab

Preview with #9857AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9857AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva