#985CA8#985CA8

#985CA8 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.1% C 0.130 H 319.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#985CA8
RGBrgb(152, 92, 168)
HSLhsl(287, 30%, 51%)
HSVhsv(287, 45%, 66%)
CMYKcmyk(9.5%, 45.2%, 0%, 34.1%)
CIE-LABlab(48.46, 37.50, -31.02)
CIE-LCHlch(48.46, 48.67, 320.41°)
OKLaboklab(57.1% 0.0983 -0.0856)
OKLCHoklch(57.1% 0.13 319)
XYZxyz(23.8430, 17.1576, 39.0940)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CA8 #6CA85C
analogous
#725CA8 #985CA8 #A85C92
triadic
#985CA8 #A8985C #5CA898
tetradic
#985CA8 #A8725C #6CA85C #5C92A8
square
#985CA8 #A8725C #6CA85C #5C92A8
split-complementary
#985CA8 #92A85C #5CA872
monochromatic
#51305A #754582 #985CA8 #B184BD #CAACD3

Accessibility & contrast

On white

4.74
#985CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#985CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985CA8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CA8#FFFFFF#000000##FFFFFF
##985CA81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#506FAB
Deuteranopia (green-blind)
#6075A6
Tritanopia (blue-blind)
#98667A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #985ca8;
/* rgb */ color: rgb(152, 92, 168);
/* oklch */ color: oklch(57.1% 0.130 319.0);
Tailwind
colors: {
  custom: {
    50: '#b88cc2',
    500: '#985ca8',
    950: '#000000',
  },
}
SCSS
$custom: #985ca8;
$custom-light: #b88cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#985ca8",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 168
  },
  "hsl": {
    "h": 287.368,
    "s": 30.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.13037,
    "h": 319
  },
  "luminance": 0.17157
}

Semantic roles & 50–950 ramp

primary
#985CA8
secondary
#A6C19F
accent
#C76177
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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