#985BAE#985BAE

#985BAE is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.3% C 0.139 H 316.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#985BAE
RGBrgb(152, 91, 174)
HSLhsl(284, 34%, 52%)
HSVhsv(284, 48%, 68%)
CMYKcmyk(12.6%, 47.7%, 0%, 31.8%)
CIE-LABlab(48.53, 39.32, -34.42)
CIE-LCHlch(48.53, 52.26, 318.80°)
OKLaboklab(57.25% 0.1008 -0.0954)
OKLCHoklch(57.25% 0.139 316.6)
XYZxyz(24.3288, 17.2143, 42.0773)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BAE #71AE5B
analogous
#6E5BAE #985BAE #AE5B9B
triadic
#985BAE #AE985B #5BAE98
tetradic
#985BAE #AE6E5B #71AE5B #5B9BAE
square
#985BAE #AE6E5B #71AE5B #5B9BAE
split-complementary
#985BAE #9BAE5B #5BAE6E
monochromatic
#532F5F #764388 #985BAE #B284C2 #CBADD6

Accessibility & contrast

On white

4.73
#985BAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#985BAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985BAE
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BAE#FFFFFF#000000##FFFFFF
##985BAE1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6FB1
Deuteranopia (green-blind)
#5D75AC
Tritanopia (blue-blind)
#97677C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #985bae;
/* rgb */ color: rgb(152, 91, 174);
/* oklch */ color: oklch(57.3% 0.139 316.6);
Tailwind
colors: {
  custom: {
    50: '#b88bc6',
    500: '#985bae',
    950: '#000000',
  },
}
SCSS
$custom: #985bae;
$custom-light: #b88bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#985bae",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 174
  },
  "hsl": {
    "h": 284.096,
    "s": 33.878,
    "l": 51.961
  },
  "oklch": {
    "l": 0.5725,
    "c": 0.13879,
    "h": 316.6
  },
  "luminance": 0.17214
}

Semantic roles & 50–950 ramp

primary
#985BAE
secondary
#AAC5A0
accent
#CA5E7A
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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