#985EA7#985EA7

#985EA7 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 57.4% C 0.126 H 319.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#985EA7
RGBrgb(152, 94, 167)
HSLhsl(288, 29%, 51%)
HSVhsv(288, 44%, 65%)
CMYKcmyk(9%, 43.7%, 0%, 34.5%)
CIE-LABlab(48.85, 36.18, -29.82)
CIE-LCHlch(48.85, 46.89, 320.51°)
OKLaboklab(57.38% 0.0951 -0.0822)
OKLCHoklch(57.38% 0.126 319.2)
XYZxyz(23.9257, 17.4716, 38.6638)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EA7 #6DA75E
analogous
#735EA7 #985EA7 #A75E91
triadic
#985EA7 #A7985E #5EA798
tetradic
#985EA7 #A7735E #6DA75E #5E91A7
square
#985EA7 #A7735E #6DA75E #5E91A7
split-complementary
#985EA7 #91A75E #5EA773
monochromatic
#51315A #754781 #985EA7 #B186BD #CBADD2

Accessibility & contrast

On white

4.67
#985EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#985EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985EA7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EA7#FFFFFF#000000##FFFFFF
##985EA71.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5370AA
Deuteranopia (green-blind)
#6376A5
Tritanopia (blue-blind)
#99677A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985ea7;
/* rgb */ color: rgb(152, 94, 167);
/* oklch */ color: oklch(57.4% 0.126 319.2);
Tailwind
colors: {
  custom: {
    50: '#b88dc1',
    500: '#985ea7',
    950: '#000000',
  },
}
SCSS
$custom: #985ea7;
$custom-light: #b88dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#985ea7",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 287.671,
    "s": 29.317,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5738,
    "c": 0.12573,
    "h": 319.2
  },
  "luminance": 0.17471
}

Semantic roles & 50–950 ramp

primary
#985EA7
secondary
#A7C1A0
accent
#C66277
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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