#985AAF#985AAF

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

Color values

HEX#985AAF
RGBrgb(152, 90, 175)
HSLhsl(284, 35%, 52%)
HSVhsv(284, 49%, 69%)
CMYKcmyk(13.1%, 48.6%, 0%, 31.4%)
CIE-LABlab(48.37, 40.09, -35.26)
CIE-LCHlch(48.37, 53.39, 318.66°)
OKLaboklab(57.14% 0.1024 -0.0979)
OKLCHoklch(57.14% 0.142 316.3)
XYZxyz(24.3418, 17.0836, 42.5643)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AAF #71AF5A
analogous
#6E5AAF #985AAF #AF5A9C
triadic
#985AAF #AF985A #5AAF98
tetradic
#985AAF #AF6E5A #71AF5A #5A9CAF
square
#985AAF #AF6E5A #71AF5A #5A9CAF
split-complementary
#985AAF #9CAF5A #5AAF6E
monochromatic
#532F60 #764389 #985AAF #B283C3 #CBACD7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985AAF#FFFFFF#000000##FFFFFF
##985AAF1.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)
#4A6FB2
Deuteranopia (green-blind)
#5B75AD
Tritanopia (blue-blind)
#97667C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #985aaf;
/* rgb */ color: rgb(152, 90, 175);
/* oklch */ color: oklch(57.1% 0.142 316.3);
Tailwind
colors: {
  custom: {
    50: '#b88ac7',
    500: '#985aaf',
    950: '#000000',
  },
}
SCSS
$custom: #985aaf;
$custom-light: #b88ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#985aaf",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 175
  },
  "hsl": {
    "h": 283.765,
    "s": 34.694,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57144,
    "c": 0.14162,
    "h": 316.3
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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