#985EA9#985EA9

#985EA9 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 57.5% C 0.128 H 318.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#985EA9
RGBrgb(152, 94, 169)
HSLhsl(286, 30%, 52%)
HSVhsv(286, 44%, 66%)
CMYKcmyk(10.1%, 44.4%, 0%, 33.7%)
CIE-LABlab(48.94, 36.60, -30.85)
CIE-LCHlch(48.94, 47.87, 319.88°)
OKLaboklab(57.48% 0.0955 -0.0851)
OKLCHoklch(57.48% 0.128 318.3)
XYZxyz(24.1121, 17.5461, 39.6450)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EA9 #6FA95E
analogous
#735EA9 #985EA9 #A95E95
triadic
#985EA9 #A9985E #5EA998
tetradic
#985EA9 #A9735E #6FA95E #5E95A9
square
#985EA9 #A9735E #6FA95E #5E95A9
split-complementary
#985EA9 #95A95E #5EA973
monochromatic
#52315C #764684 #985EA9 #B286BE #CBAED4

Accessibility & contrast

On white

4.66
#985EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#985EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985EA9
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EA9#FFFFFF#000000##FFFFFF
##985EA91.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5270AC
Deuteranopia (green-blind)
#6276A7
Tritanopia (blue-blind)
#98687B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985ea9;
/* rgb */ color: rgb(152, 94, 169);
/* oklch */ color: oklch(57.5% 0.128 318.3);
Tailwind
colors: {
  custom: {
    50: '#b88dc3',
    500: '#985ea9',
    950: '#000000',
  },
}
SCSS
$custom: #985ea9;
$custom-light: #b88dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#985ea9",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 169
  },
  "hsl": {
    "h": 286.4,
    "s": 30.364,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57479,
    "c": 0.12796,
    "h": 318.3
  },
  "luminance": 0.17545
}

Semantic roles & 50–950 ramp

primary
#985EA9
secondary
#A8C2A1
accent
#C76178
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #985EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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