#985E9A#985E9A

#985E9A is a mid, moderate purple. Relative luminance 0.170; OKLCH L 56.8% C 0.112 H 325.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#985E9A
RGBrgb(152, 94, 154)
HSLhsl(298, 24%, 49%)
HSVhsv(298, 39%, 60%)
CMYKcmyk(1.3%, 39%, 0%, 39.6%)
CIE-LABlab(48.28, 33.54, -23.04)
CIE-LCHlch(48.28, 40.69, 325.51°)
OKLaboklab(56.77% 0.0923 -0.0628)
OKLCHoklch(56.77% 0.112 325.8)
XYZxyz(22.7838, 17.0148, 32.6496)
Luminance0.1701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985E9A #609A5E
analogous
#7A5E9A #985E9A #9A5E7E
triadic
#985E9A #9A985E #5E9A98
tetradic
#985E9A #9A7A5E #609A5E #5E7E9A
square
#985E9A #9A7A5E #609A5E #5E7E9A
split-complementary
#985E9A #7E9A5E #5E9A7A
monochromatic
#4D304E #724774 #985E9A #B182B3 #C9A8CA

Accessibility & contrast

On white

4.77
#985E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#985E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985E9A
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985E9A#FFFFFF#000000##FFFFFF
##985E9A1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596E9C
Deuteranopia (green-blind)
#687598
Tritanopia (blue-blind)
#9B6475
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #985e9a;
/* rgb */ color: rgb(152, 94, 154);
/* oklch */ color: oklch(56.8% 0.112 325.8);
Tailwind
colors: {
  custom: {
    50: '#b78db8',
    500: '#985e9a',
    950: '#000000',
  },
}
SCSS
$custom: #985e9a;
$custom-light: #b78db8;
$custom-dark: #000000;
JSON
{
  "hex": "#985e9a",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 154
  },
  "hsl": {
    "h": 298,
    "s": 24.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56766,
    "c": 0.11167,
    "h": 325.8
  },
  "luminance": 0.17014
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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