#985D9A#985D9A

#985D9A is a mid, moderate purple. Relative luminance 0.168; OKLCH L 56.6% C 0.114 H 325.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#985D9A
RGBrgb(152, 93, 154)
HSLhsl(298, 25%, 48%)
HSVhsv(298, 40%, 60%)
CMYKcmyk(1.3%, 39.6%, 0%, 39.6%)
CIE-LABlab(48.06, 34.10, -23.38)
CIE-LCHlch(48.06, 41.34, 325.56°)
OKLaboklab(56.6% 0.0939 -0.0638)
OKLCHoklch(56.6% 0.114 325.8)
XYZxyz(22.6955, 16.8382, 32.6202)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985D9A #5F9A5D
analogous
#795D9A #985D9A #9A5D7D
triadic
#985D9A #9A985D #5D9A98
tetradic
#985D9A #9A795D #5F9A5D #5D7D9A
square
#985D9A #9A795D #5F9A5D #5D7D9A
split-complementary
#985D9A #7D9A5D #5D9A79
monochromatic
#4D2F4E #724674 #985D9A #B181B3 #C9A7CA

Accessibility & contrast

On white

4.81
#985D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#985D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985D9A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985D9A#FFFFFF#000000##FFFFFF
##985D9A1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586D9C
Deuteranopia (green-blind)
#677598
Tritanopia (blue-blind)
#9B6374
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #985d9a;
/* rgb */ color: rgb(152, 93, 154);
/* oklch */ color: oklch(56.6% 0.114 325.8);
Tailwind
colors: {
  custom: {
    50: '#b78cb8',
    500: '#985d9a',
    950: '#000000',
  },
}
SCSS
$custom: #985d9a;
$custom-light: #b78cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#985d9a",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 154
  },
  "hsl": {
    "h": 298.033,
    "s": 24.696,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56598,
    "c": 0.11351,
    "h": 325.8
  },
  "luminance": 0.16837
}

Semantic roles & 50–950 ramp

primary
#985D9A
secondary
#9CB89B
accent
#C1676A
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C11
muted
#807D80

Preview Lab

Preview with #985D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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