#985CAF#985CAF

#985CAF is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.5% C 0.138 H 316.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#985CAF
RGBrgb(152, 92, 175)
HSLhsl(283, 34%, 52%)
HSVhsv(283, 47%, 69%)
CMYKcmyk(13.1%, 47.4%, 0%, 31.4%)
CIE-LABlab(48.79, 38.99, -34.59)
CIE-LCHlch(48.79, 52.12, 318.42°)
OKLaboklab(57.46% 0.0995 -0.0959)
OKLCHoklch(57.46% 0.138 316)
XYZxyz(24.5127, 17.4255, 42.6213)
Luminance0.1742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CAF #73AF5C
analogous
#6E5CAF #985CAF #AF5C9D
triadic
#985CAF #AF985C #5CAF98
tetradic
#985CAF #AF6E5C #73AF5C #5C9DAF
square
#985CAF #AF6E5C #73AF5C #5C9DAF
split-complementary
#985CAF #9DAF5C #5CAF6E
monochromatic
#533061 #77448A #985CAF #B285C3 #CCAED7

Accessibility & contrast

On white

4.68
#985CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#985CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985CAF
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CAF#FFFFFF#000000##FFFFFF
##985CAF1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C70B2
Deuteranopia (green-blind)
#5D76AD
Tritanopia (blue-blind)
#97687D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985caf;
/* rgb */ color: rgb(152, 92, 175);
/* oklch */ color: oklch(57.5% 0.138 316.0);
Tailwind
colors: {
  custom: {
    50: '#b88cc7',
    500: '#985caf',
    950: '#000000',
  },
}
SCSS
$custom: #985caf;
$custom-light: #b88cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#985caf",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 175
  },
  "hsl": {
    "h": 283.373,
    "s": 34.156,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57461,
    "c": 0.1382,
    "h": 316
  },
  "luminance": 0.17425
}

Semantic roles & 50–950 ramp

primary
#985CAF
secondary
#ABC5A1
accent
#CA5E7C
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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