#985CAC#985CAC

#985CAC is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.3% C 0.135 H 317.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#985CAC
RGBrgb(152, 92, 172)
HSLhsl(285, 33%, 52%)
HSVhsv(285, 47%, 67%)
CMYKcmyk(11.6%, 46.5%, 0%, 32.5%)
CIE-LABlab(48.65, 38.35, -33.06)
CIE-LCHlch(48.65, 50.63, 319.23°)
OKLaboklab(57.31% 0.099 -0.0915)
OKLCHoklch(57.31% 0.135 317.3)
XYZxyz(24.2214, 17.3090, 41.0868)
Luminance0.1731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CAC #70AC5C
analogous
#705CAC #985CAC #AC5C98
triadic
#985CAC #AC985C #5CAC98
tetradic
#985CAC #AC705C #70AC5C #5C98AC
square
#985CAC #AC705C #70AC5C #5C98AC
split-complementary
#985CAC #98AC5C #5CAC70
monochromatic
#52305E #764486 #985CAC #B285C1 #CBADD5

Accessibility & contrast

On white

4.71
#985CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#985CAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985CAC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CAC#FFFFFF#000000##FFFFFF
##985CAC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E70AF
Deuteranopia (green-blind)
#5F75AA
Tritanopia (blue-blind)
#98677C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985cac;
/* rgb */ color: rgb(152, 92, 172);
/* oklch */ color: oklch(57.3% 0.135 317.3);
Tailwind
colors: {
  custom: {
    50: '#b88cc5',
    500: '#985cac',
    950: '#000000',
  },
}
SCSS
$custom: #985cac;
$custom-light: #b88cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#985cac",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 172
  },
  "hsl": {
    "h": 285,
    "s": 32.52,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57306,
    "c": 0.13483,
    "h": 317.3
  },
  "luminance": 0.17308
}

Semantic roles & 50–950 ramp

primary
#985CAC
secondary
#A9C3A0
accent
#C95F7A
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #985CAC

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

Preview Lab → · Contrast checker → · Palette generator →

#985CAC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva