#985BAA#985BAA

#985BAA is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.0% C 0.134 H 318.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#985BAA
RGBrgb(152, 91, 170)
HSLhsl(286, 32%, 51%)
HSVhsv(286, 46%, 67%)
CMYKcmyk(10.6%, 46.5%, 0%, 33.3%)
CIE-LABlab(48.34, 38.47, -32.38)
CIE-LCHlch(48.34, 50.29, 319.92°)
OKLaboklab(57.04% 0.1002 -0.0895)
OKLCHoklch(57.04% 0.134 318.2)
XYZxyz(23.9447, 17.0606, 40.0541)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BAA #6DAA5B
analogous
#705BAA #985BAA #AA5B94
triadic
#985BAA #AA985B #5BAA98
tetradic
#985BAA #AA705B #6DAA5B #5B94AA
square
#985BAA #AA705B #6DAA5B #5B94AA
split-complementary
#985BAA #94AA5B #5BAA70
monochromatic
#512F5B #754484 #985BAA #B183BF #CBACD4

Accessibility & contrast

On white

4.76
#985BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#985BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985BAA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BAA#FFFFFF#000000##FFFFFF
##985BAA1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#5F75A8
Tritanopia (blue-blind)
#98667A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #985baa;
/* rgb */ color: rgb(152, 91, 170);
/* oklch */ color: oklch(57.0% 0.134 318.2);
Tailwind
colors: {
  custom: {
    50: '#b88bc3',
    500: '#985baa',
    950: '#000000',
  },
}
SCSS
$custom: #985baa;
$custom-light: #b88bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#985baa",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 170
  },
  "hsl": {
    "h": 286.329,
    "s": 31.727,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57044,
    "c": 0.13434,
    "h": 318.2
  },
  "luminance": 0.1706
}

Semantic roles & 50–950 ramp

primary
#985BAA
secondary
#A7C29F
accent
#C86078
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #985BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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