#985CAB#985CAB

#985CAB is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.3% C 0.134 H 317.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#985CAB
RGBrgb(152, 92, 171)
HSLhsl(286, 32%, 52%)
HSVhsv(286, 46%, 67%)
CMYKcmyk(11.1%, 46.2%, 0%, 32.9%)
CIE-LABlab(48.60, 38.13, -32.55)
CIE-LCHlch(48.60, 50.14, 319.51°)
OKLaboklab(57.26% 0.0988 -0.09)
OKLCHoklch(57.26% 0.134 317.7)
XYZxyz(24.1257, 17.2707, 40.5829)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CAB #6FAB5C
analogous
#715CAB #985CAB #AB5C97
triadic
#985CAB #AB985C #5CAB98
tetradic
#985CAB #AB715C #6FAB5C #5C97AB
square
#985CAB #AB715C #6FAB5C #5C97AB
split-complementary
#985CAB #97AB5C #5CAB71
monochromatic
#52305D #764585 #985CAB #B284C0 #CBADD5

Accessibility & contrast

On white

4.71
#985CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#985CAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985CAB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CAB#FFFFFF#000000##FFFFFF
##985CAB1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E70AE
Deuteranopia (green-blind)
#5F75A9
Tritanopia (blue-blind)
#98677B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #985cab;
/* rgb */ color: rgb(152, 92, 171);
/* oklch */ color: oklch(57.3% 0.134 317.7);
Tailwind
colors: {
  custom: {
    50: '#b88cc4',
    500: '#985cab',
    950: '#000000',
  },
}
SCSS
$custom: #985cab;
$custom-light: #b88cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#985cab",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 171
  },
  "hsl": {
    "h": 285.57,
    "s": 31.984,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57255,
    "c": 0.1337,
    "h": 317.7
  },
  "luminance": 0.1727
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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