#9857A2#9857A2

#9857A2 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.0% C 0.133 H 322.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9857A2
RGBrgb(152, 87, 162)
HSLhsl(292, 30%, 49%)
HSVhsv(292, 46%, 64%)
CMYKcmyk(6.2%, 46.3%, 0%, 36.5%)
CIE-LABlab(47.11, 39.01, -29.59)
CIE-LCHlch(47.11, 48.96, 322.82°)
OKLaboklab(56.01% 0.1047 -0.0815)
OKLCHoklch(56.01% 0.133 322.1)
XYZxyz(22.8780, 16.1014, 36.0782)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9857A2 #61A257
analogous
#7357A2 #9857A2 #A25787
triadic
#9857A2 #A29857 #57A298
tetradic
#9857A2 #A27357 #61A257 #5787A2
square
#9857A2 #A27357 #61A257 #5787A2
split-complementary
#9857A2 #87A257 #57A273
monochromatic
#4D2C52 #73427A #9857A2 #B17DB9 #C9A5CF

Accessibility & contrast

On white

4.98
#9857A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9857A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9857A2#FFFFFF#000000##FFFFFF
##9857A21.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA5
Deuteranopia (green-blind)
#5F72A0
Tritanopia (blue-blind)
#9A6075
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9857a2;
/* rgb */ color: rgb(152, 87, 162);
/* oklch */ color: oklch(56.0% 0.133 322.1);
Tailwind
colors: {
  custom: {
    50: '#b888be',
    500: '#9857a2',
    950: '#000000',
  },
}
SCSS
$custom: #9857a2;
$custom-light: #b888be;
$custom-dark: #000000;
JSON
{
  "hex": "#9857a2",
  "rgb": {
    "r": 152,
    "g": 87,
    "b": 162
  },
  "hsl": {
    "h": 292,
    "s": 30.12,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56005,
    "c": 0.13268,
    "h": 322.1
  },
  "luminance": 0.161
}

Semantic roles & 50–950 ramp

primary
#9857A2
secondary
#9DBC99
accent
#C6616F
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #9857A2

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

Preview Lab → · Contrast checker → · Palette generator →

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