#985FA7#985FA7

#985FA7 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 57.5% C 0.124 H 319.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#985FA7
RGBrgb(152, 95, 167)
HSLhsl(288, 29%, 51%)
HSVhsv(288, 43%, 65%)
CMYKcmyk(9%, 43.1%, 0%, 34.5%)
CIE-LABlab(49.07, 35.62, -29.47)
CIE-LCHlch(49.07, 46.24, 320.40°)
OKLaboklab(57.55% 0.0936 -0.0812)
OKLCHoklch(57.55% 0.124 319.1)
XYZxyz(24.0152, 17.6506, 38.6936)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FA7 #6EA75F
analogous
#745FA7 #985FA7 #A75F92
triadic
#985FA7 #A7985F #5FA798
tetradic
#985FA7 #A7745F #6EA75F #5F92A7
square
#985FA7 #A7745F #6EA75F #5F92A7
split-complementary
#985FA7 #92A75F #5FA774
monochromatic
#52325A #754782 #985FA7 #B186BD #CBAED2

Accessibility & contrast

On white

4.64
#985FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#985FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985FA7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FA7#FFFFFF#000000##FFFFFF
##985FA71.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5471AA
Deuteranopia (green-blind)
#6377A5
Tritanopia (blue-blind)
#99687B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985fa7;
/* rgb */ color: rgb(152, 95, 167);
/* oklch */ color: oklch(57.5% 0.124 319.1);
Tailwind
colors: {
  custom: {
    50: '#b88ec1',
    500: '#985fa7',
    950: '#000000',
  },
}
SCSS
$custom: #985fa7;
$custom-light: #b88ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#985fa7",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 167
  },
  "hsl": {
    "h": 287.5,
    "s": 29.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57546,
    "c": 0.12394,
    "h": 319.1
  },
  "luminance": 0.1765
}

Semantic roles & 50–950 ramp

primary
#985FA7
secondary
#A8C1A1
accent
#C56277
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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