#985CAA#985CAA

#985CAA is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.2% C 0.133 H 318.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#985CAA
RGBrgb(152, 92, 170)
HSLhsl(286, 31%, 51%)
HSVhsv(286, 46%, 67%)
CMYKcmyk(10.6%, 45.9%, 0%, 33.3%)
CIE-LABlab(48.55, 37.92, -32.04)
CIE-LCHlch(48.55, 49.65, 319.80°)
OKLaboklab(57.2% 0.0987 -0.0886)
OKLCHoklch(57.2% 0.133 318.1)
XYZxyz(24.0307, 17.2327, 40.0828)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CAA #6EAA5C
analogous
#715CAA #985CAA #AA5C95
triadic
#985CAA #AA985C #5CAA98
tetradic
#985CAA #AA715C #6EAA5C #5C95AA
square
#985CAA #AA715C #6EAA5C #5C95AA
split-complementary
#985CAA #95AA5C #5CAA71
monochromatic
#52305C #754584 #985CAA #B184BF #CBACD4

Accessibility & contrast

On white

4.72
#985CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #985CAA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CAA#FFFFFF#000000##FFFFFF
##985CAA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAD
Deuteranopia (green-blind)
#6075A8
Tritanopia (blue-blind)
#98677B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #985caa;
/* rgb */ color: rgb(152, 92, 170);
/* oklch */ color: oklch(57.2% 0.133 318.1);
Tailwind
colors: {
  custom: {
    50: '#b88cc3',
    500: '#985caa',
    950: '#000000',
  },
}
SCSS
$custom: #985caa;
$custom-light: #b88cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#985caa",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 286.154,
    "s": 31.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57204,
    "c": 0.13259,
    "h": 318.1
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#985CAA
secondary
#A8C2A0
accent
#C86078
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #985CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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