#985FAB#985FAB

#985FAB is a mid, vivid purple. Relative luminance 0.178; OKLCH L 57.7% C 0.128 H 317.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#985FAB
RGBrgb(152, 95, 171)
HSLhsl(285, 31%, 52%)
HSVhsv(285, 44%, 67%)
CMYKcmyk(11.1%, 44.4%, 0%, 32.9%)
CIE-LABlab(49.25, 36.47, -31.53)
CIE-LCHlch(49.25, 48.21, 319.15°)
OKLaboklab(57.74% 0.0944 -0.0871)
OKLCHoklch(57.74% 0.128 317.3)
XYZxyz(24.3907, 17.8008, 40.6712)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FAB #72AB5F
analogous
#725FAB #985FAB #AB5F98
triadic
#985FAB #AB985F #5FAB98
tetradic
#985FAB #AB725F #72AB5F #5F98AB
square
#985FAB #AB725F #72AB5F #5F98AB
split-complementary
#985FAB #98AB5F #5FAB72
monochromatic
#53315E #764786 #985FAB #B287C0 #CCAFD5

Accessibility & contrast

On white

4.61
#985FAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#985FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985FAB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FAB#FFFFFF#000000##FFFFFF
##985FAB1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5271AE
Deuteranopia (green-blind)
#6277A9
Tritanopia (blue-blind)
#98697D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985fab;
/* rgb */ color: rgb(152, 95, 171);
/* oklch */ color: oklch(57.7% 0.128 317.3);
Tailwind
colors: {
  custom: {
    50: '#b88ec4',
    500: '#985fab',
    950: '#000000',
  },
}
SCSS
$custom: #985fab;
$custom-light: #b88ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#985fab",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 171
  },
  "hsl": {
    "h": 285,
    "s": 31.148,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57744,
    "c": 0.12845,
    "h": 317.3
  },
  "luminance": 0.178
}

Semantic roles & 50–950 ramp

primary
#985FAB
secondary
#ABC3A2
accent
#C7607A
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #985FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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