#985DB1#985DB1

#985DB1 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 57.7% C 0.139 H 315.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#985DB1
RGBrgb(152, 93, 177)
HSLhsl(282, 35%, 53%)
HSVhsv(282, 47%, 69%)
CMYKcmyk(14.1%, 47.5%, 0%, 30.6%)
CIE-LABlab(49.10, 38.87, -35.27)
CIE-LCHlch(49.10, 52.49, 317.78°)
OKLaboklab(57.73% 0.0983 -0.0979)
OKLCHoklch(57.73% 0.139 315.1)
XYZxyz(24.7978, 17.6791, 43.6926)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DB1 #76B15D
analogous
#6E5DB1 #985DB1 #B15DA0
triadic
#985DB1 #B1985D #5DB198
tetradic
#985DB1 #B16E5D #76B15D #5DA0B1
square
#985DB1 #B16E5D #76B15D #5DA0B1
split-complementary
#985DB1 #A0B15D #5DB16E
monochromatic
#543064 #77448D #985DB1 #B286C5 #CDB0D9

Accessibility & contrast

On white

4.63
#985DB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #985DB1
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DB1#FFFFFF#000000##FFFFFF
##985DB11.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B4
Deuteranopia (green-blind)
#5D76AF
Tritanopia (blue-blind)
#96697F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985db1;
/* rgb */ color: rgb(152, 93, 177);
/* oklch */ color: oklch(57.7% 0.139 315.1);
Tailwind
colors: {
  custom: {
    50: '#b88cc8',
    500: '#985db1',
    950: '#000000',
  },
}
SCSS
$custom: #985db1;
$custom-light: #b88cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#985db1",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 177
  },
  "hsl": {
    "h": 282.143,
    "s": 35,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57726,
    "c": 0.13875,
    "h": 315.1
  },
  "luminance": 0.17678
}

Semantic roles & 50–950 ramp

primary
#985DB1
secondary
#AEC7A3
accent
#CB5D7E
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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