#985CB4#985CB4

#985CB4 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 57.7% C 0.144 H 314.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#985CB4
RGBrgb(152, 92, 180)
HSLhsl(281, 37%, 53%)
HSVhsv(281, 49%, 71%)
CMYKcmyk(15.6%, 48.9%, 0%, 29.4%)
CIE-LABlab(49.04, 40.07, -37.12)
CIE-LCHlch(49.04, 54.63, 317.19°)
OKLaboklab(57.73% 0.1002 -0.1032)
OKLCHoklch(57.73% 0.144 314.1)
XYZxyz(25.0129, 17.6256, 45.2556)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CB4 #78B45C
analogous
#6C5CB4 #985CB4 #B45CA4
triadic
#985CB4 #B4985C #5CB498
tetradic
#985CB4 #B46C5C #78B45C #5CA4B4
square
#985CB4 #B46C5C #78B45C #5CA4B4
split-complementary
#985CB4 #A4B45C #5CB46C
monochromatic
#552F66 #784290 #985CB4 #B286C7 #CDB0DB

Accessibility & contrast

On white

4.64
#985CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#985CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985CB4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CB4#FFFFFF#000000##FFFFFF
##985CB41.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4971B7
Deuteranopia (green-blind)
#5A76B2
Tritanopia (blue-blind)
#966980
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985cb4;
/* rgb */ color: rgb(152, 92, 180);
/* oklch */ color: oklch(57.7% 0.144 314.1);
Tailwind
colors: {
  custom: {
    50: '#b88ccb',
    500: '#985cb4',
    950: '#000000',
  },
}
SCSS
$custom: #985cb4;
$custom-light: #b88ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#985cb4",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 180
  },
  "hsl": {
    "h": 280.909,
    "s": 36.975,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57726,
    "c": 0.14387,
    "h": 314.1
  },
  "luminance": 0.17625
}

Semantic roles & 50–950 ramp

primary
#985CB4
secondary
#AFC9A3
accent
#CD5B7F
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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