#985FA9#985FA9

#985FA9 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 57.6% C 0.126 H 318.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#985FA9
RGBrgb(152, 95, 169)
HSLhsl(286, 30%, 52%)
HSVhsv(286, 44%, 66%)
CMYKcmyk(10.1%, 43.8%, 0%, 33.7%)
CIE-LABlab(49.16, 36.05, -30.50)
CIE-LCHlch(49.16, 47.22, 319.76°)
OKLaboklab(57.64% 0.094 -0.0842)
OKLCHoklch(57.64% 0.126 318.2)
XYZxyz(24.2016, 17.7251, 39.6749)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FA9 #70A95F
analogous
#735FA9 #985FA9 #A95F95
triadic
#985FA9 #A9985F #5FA998
tetradic
#985FA9 #A9735F #70A95F #5F95A9
square
#985FA9 #A9735F #70A95F #5F95A9
split-complementary
#985FA9 #95A95F #5FA973
monochromatic
#52325C #764784 #985FA9 #B287BE #CBAFD4

Accessibility & contrast

On white

4.62
#985FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#985FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985FA9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FA9#FFFFFF#000000##FFFFFF
##985FA91.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5371AC
Deuteranopia (green-blind)
#6277A7
Tritanopia (blue-blind)
#98697C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985fa9;
/* rgb */ color: rgb(152, 95, 169);
/* oklch */ color: oklch(57.6% 0.126 318.2);
Tailwind
colors: {
  custom: {
    50: '#b88ec3',
    500: '#985fa9',
    950: '#000000',
  },
}
SCSS
$custom: #985fa9;
$custom-light: #b88ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#985fa9",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 169
  },
  "hsl": {
    "h": 286.216,
    "s": 30.081,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57644,
    "c": 0.12619,
    "h": 318.2
  },
  "luminance": 0.17724
}

Semantic roles & 50–950 ramp

primary
#985FA9
secondary
#A9C2A2
accent
#C66179
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #985FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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