#985C9B#985C9B

#985C9B is a mid, moderate purple. Relative luminance 0.167; OKLCH L 56.5% C 0.116 H 325.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#985C9B
RGBrgb(152, 92, 155)
HSLhsl(297, 26%, 48%)
HSVhsv(297, 41%, 61%)
CMYKcmyk(1.9%, 40.6%, 0%, 39.2%)
CIE-LABlab(47.88, 34.85, -24.25)
CIE-LCHlch(47.88, 42.46, 325.16°)
OKLaboklab(56.48% 0.0957 -0.0663)
OKLCHoklch(56.48% 0.116 325.3)
XYZxyz(22.6919, 16.6972, 33.0316)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985C9B #5F9B5C
analogous
#785C9B #985C9B #9B5C7E
triadic
#985C9B #9B985C #5C9B98
tetradic
#985C9B #9B785C #5F9B5C #5C7E9B
square
#985C9B #9B785C #5F9B5C #5C7E9B
split-complementary
#985C9B #7E9B5C #5C9B78
monochromatic
#4D2E4E #724575 #985C9B #B180B4 #C9A7CB

Accessibility & contrast

On white

4.84
#985C9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#985C9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985C9B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985C9B#FFFFFF#000000##FFFFFF
##985C9B1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566D9D
Deuteranopia (green-blind)
#667499
Tritanopia (blue-blind)
#9B6274
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #985c9b;
/* rgb */ color: rgb(152, 92, 155);
/* oklch */ color: oklch(56.5% 0.116 325.3);
Tailwind
colors: {
  custom: {
    50: '#b78bb8',
    500: '#985c9b',
    950: '#000000',
  },
}
SCSS
$custom: #985c9b;
$custom-light: #b78bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#985c9b",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 155
  },
  "hsl": {
    "h": 297.143,
    "s": 25.506,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56477,
    "c": 0.11638,
    "h": 325.3
  },
  "luminance": 0.16696
}

Semantic roles & 50–950 ramp

primary
#985C9B
secondary
#9CB99A
accent
#C2666A
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C11
muted
#807D80

Preview Lab

Preview with #985C9B

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

Preview Lab → · Contrast checker → · Palette generator →

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