#985EA6#985EA6

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

Color values

HEX#985EA6
RGBrgb(152, 94, 166)
HSLhsl(288, 29%, 51%)
HSVhsv(288, 43%, 65%)
CMYKcmyk(8.4%, 43.4%, 0%, 34.9%)
CIE-LABlab(48.80, 35.97, -29.30)
CIE-LCHlch(48.80, 46.40, 320.84°)
OKLaboklab(57.33% 0.0949 -0.0807)
OKLCHoklch(57.33% 0.125 319.6)
XYZxyz(23.8337, 17.4348, 38.1788)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EA6 #6CA65E
analogous
#745EA6 #985EA6 #A65E90
triadic
#985EA6 #A6985E #5EA698
tetradic
#985EA6 #A6745E #6CA65E #5E90A6
square
#985EA6 #A6745E #6CA65E #5E90A6
split-complementary
#985EA6 #90A65E #5EA674
monochromatic
#513159 #754780 #985EA6 #B185BC #CAADD2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985EA6#FFFFFF#000000##FFFFFF
##985EA61.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #985ea6;
/* rgb */ color: rgb(152, 94, 166);
/* oklch */ color: oklch(57.3% 0.125 319.6);
Tailwind
colors: {
  custom: {
    50: '#b88dc0',
    500: '#985ea6',
    950: '#000000',
  },
}
SCSS
$custom: #985ea6;
$custom-light: #b88dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#985ea6",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 166
  },
  "hsl": {
    "h": 288.333,
    "s": 28.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57331,
    "c": 0.12461,
    "h": 319.6
  },
  "luminance": 0.17434
}

Semantic roles & 50–950 ramp

primary
#985EA6
secondary
#A6C0A0
accent
#C56376
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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