#985EA8#985EA8

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

Color values

HEX#985EA8
RGBrgb(152, 94, 168)
HSLhsl(287, 30%, 51%)
HSVhsv(287, 44%, 66%)
CMYKcmyk(9.5%, 44%, 0%, 34.1%)
CIE-LABlab(48.89, 36.39, -30.33)
CIE-LCHlch(48.89, 47.38, 320.19°)
OKLaboklab(57.43% 0.0953 -0.0837)
OKLCHoklch(57.43% 0.127 318.7)
XYZxyz(24.0185, 17.5087, 39.1525)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EA8 #6EA85E
analogous
#735EA8 #985EA8 #A85E93
triadic
#985EA8 #A8985E #5EA898
tetradic
#985EA8 #A8735E #6EA85E #5E93A8
square
#985EA8 #A8735E #6EA85E #5E93A8
split-complementary
#985EA8 #93A85E #5EA873
monochromatic
#52315B #754682 #985EA8 #B186BD #CBADD3

Accessibility & contrast

On white

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

On black

4.50
#985EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##985EA8#FFFFFF#000000##FFFFFF
##985EA81.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #985ea8;
/* rgb */ color: rgb(152, 94, 168);
/* oklch */ color: oklch(57.4% 0.127 318.7);
Tailwind
colors: {
  custom: {
    50: '#b88dc2',
    500: '#985ea8',
    950: '#000000',
  },
}
SCSS
$custom: #985ea8;
$custom-light: #b88dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#985ea8",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 168
  },
  "hsl": {
    "h": 287.027,
    "s": 29.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.5743,
    "c": 0.12684,
    "h": 318.7
  },
  "luminance": 0.17508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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