#985F9D#985F9D

#985F9D is a mid, moderate purple. Relative luminance 0.173; OKLCH L 57.1% C 0.113 H 324.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#985F9D
RGBrgb(152, 95, 157)
HSLhsl(295, 25%, 49%)
HSVhsv(295, 39%, 62%)
CMYKcmyk(3.2%, 39.5%, 0%, 38.4%)
CIE-LABlab(48.63, 33.57, -24.27)
CIE-LCHlch(48.63, 41.43, 324.13°)
OKLaboklab(57.07% 0.0915 -0.0664)
OKLCHoklch(57.07% 0.113 324)
XYZxyz(23.1263, 17.2950, 34.0118)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985F9D #649D5F
analogous
#795F9D #985F9D #9D5F83
triadic
#985F9D #9D985F #5F9D98
tetradic
#985F9D #9D795F #649D5F #5F839D
square
#985F9D #9D795F #649D5F #5F839D
split-complementary
#985F9D #839D5F #5F9D79
monochromatic
#4E3151 #734877 #985F9D #B184B5 #C9ABCC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985F9D#FFFFFF#000000##FFFFFF
##985F9D1.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)
#596F9F
Deuteranopia (green-blind)
#67769B
Tritanopia (blue-blind)
#9A6677
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #985f9d;
/* rgb */ color: rgb(152, 95, 157);
/* oklch */ color: oklch(57.1% 0.113 324.0);
Tailwind
colors: {
  custom: {
    50: '#b78eba',
    500: '#985f9d',
    950: '#000000',
  },
}
SCSS
$custom: #985f9d;
$custom-light: #b78eba;
$custom-dark: #000000;
JSON
{
  "hex": "#985f9d",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 157
  },
  "hsl": {
    "h": 295.161,
    "s": 24.603,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57071,
    "c": 0.113,
    "h": 324
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

primary
#985F9D
secondary
#A0BA9E
accent
#C1676E
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C11
muted
#807D80

Preview Lab

Preview with #985F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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