#985CA7#985CA7

#985CA7 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.1% C 0.129 H 319.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#985CA7
RGBrgb(152, 92, 167)
HSLhsl(288, 30%, 51%)
HSVhsv(288, 45%, 65%)
CMYKcmyk(9%, 44.9%, 0%, 34.5%)
CIE-LABlab(48.41, 37.29, -30.50)
CIE-LCHlch(48.41, 48.18, 320.72°)
OKLaboklab(57.05% 0.0981 -0.0841)
OKLCHoklch(57.05% 0.129 319.4)
XYZxyz(23.7502, 17.1205, 38.6052)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CA7 #6BA75C
analogous
#725CA7 #985CA7 #A75C90
triadic
#985CA7 #A7985C #5CA798
tetradic
#985CA7 #A7725C #6BA75C #5C90A7
square
#985CA7 #A7725C #6BA75C #5C90A7
split-complementary
#985CA7 #90A75C #5CA772
monochromatic
#513059 #754580 #985CA7 #B184BC #CAABD2

Accessibility & contrast

On white

4.75
#985CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#985CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985CA7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CA7#FFFFFF#000000##FFFFFF
##985CA71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516FAA
Deuteranopia (green-blind)
#6175A5
Tritanopia (blue-blind)
#99667A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #985ca7;
/* rgb */ color: rgb(152, 92, 167);
/* oklch */ color: oklch(57.1% 0.129 319.4);
Tailwind
colors: {
  custom: {
    50: '#b88cc1',
    500: '#985ca7',
    950: '#000000',
  },
}
SCSS
$custom: #985ca7;
$custom-light: #b88cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#985ca7",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 288,
    "s": 29.88,
    "l": 50.784
  },
  "oklch": {
    "l": 0.57054,
    "c": 0.12927,
    "h": 319.4
  },
  "luminance": 0.1712
}

Semantic roles & 50–950 ramp

primary
#985CA7
secondary
#A5C09F
accent
#C66276
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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