#985DB2#985DB2

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

Color values

HEX#985DB2
RGBrgb(152, 93, 178)
HSLhsl(282, 36%, 53%)
HSVhsv(282, 48%, 70%)
CMYKcmyk(14.6%, 47.8%, 0%, 30.2%)
CIE-LABlab(49.15, 39.09, -35.77)
CIE-LCHlch(49.15, 52.99, 317.53°)
OKLaboklab(57.78% 0.0985 -0.0993)
OKLCHoklch(57.78% 0.14 314.7)
XYZxyz(24.8979, 17.7191, 44.2194)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DB2 #77B25D
analogous
#6D5DB2 #985DB2 #B25DA1
triadic
#985DB2 #B2985D #5DB298
tetradic
#985DB2 #B26D5D #77B25D #5DA1B2
square
#985DB2 #B26D5D #77B25D #5DA1B2
split-complementary
#985DB2 #A1B25D #5DB26D
monochromatic
#553065 #77448E #985DB2 #B286C6 #CDB0D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985DB2#FFFFFF#000000##FFFFFF
##985DB21.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)
#4C71B5
Deuteranopia (green-blind)
#5C76B0
Tritanopia (blue-blind)
#966A7F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985db2;
/* rgb */ color: rgb(152, 93, 178);
/* oklch */ color: oklch(57.8% 0.140 314.7);
Tailwind
colors: {
  custom: {
    50: '#b88cc9',
    500: '#985db2',
    950: '#000000',
  },
}
SCSS
$custom: #985db2;
$custom-light: #b88cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#985db2",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 281.647,
    "s": 35.565,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57779,
    "c": 0.13988,
    "h": 314.7
  },
  "luminance": 0.17718
}

Semantic roles & 50–950 ramp

primary
#985DB2
secondary
#AEC8A3
accent
#CC5C7E
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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