#985DAB#985DAB

#985DAB is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.4% C 0.132 H 317.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#985DAB
RGBrgb(152, 93, 171)
HSLhsl(285, 32%, 52%)
HSVhsv(285, 46%, 67%)
CMYKcmyk(11.1%, 45.6%, 0%, 32.9%)
CIE-LABlab(48.82, 37.58, -32.21)
CIE-LCHlch(48.82, 49.50, 319.40°)
OKLaboklab(57.42% 0.0974 -0.0891)
OKLCHoklch(57.42% 0.132 317.5)
XYZxyz(24.2129, 17.4451, 40.6120)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DAB #70AB5D
analogous
#715DAB #985DAB #AB5D97
triadic
#985DAB #AB985D #5DAB98
tetradic
#985DAB #AB715D #70AB5D #5D97AB
square
#985DAB #AB715D #70AB5D #5D97AB
split-complementary
#985DAB #97AB5D #5DAB71
monochromatic
#52305D #764586 #985DAB #B285C0 #CBAED5

Accessibility & contrast

On white

4.68
#985DAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#985DAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985DAB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DAB#FFFFFF#000000##FFFFFF
##985DAB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5070AE
Deuteranopia (green-blind)
#6076A9
Tritanopia (blue-blind)
#98687C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985dab;
/* rgb */ color: rgb(152, 93, 171);
/* oklch */ color: oklch(57.4% 0.132 317.5);
Tailwind
colors: {
  custom: {
    50: '#b88cc4',
    500: '#985dab',
    950: '#000000',
  },
}
SCSS
$custom: #985dab;
$custom-light: #b88cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#985dab",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 171
  },
  "hsl": {
    "h": 285.385,
    "s": 31.707,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57417,
    "c": 0.13196,
    "h": 317.5
  },
  "luminance": 0.17444
}

Semantic roles & 50–950 ramp

primary
#985DAB
secondary
#A9C3A1
accent
#C86079
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #985DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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