#985EAA#985EAA

#985EAA is a mid, vivid purple. Relative luminance 0.176; OKLCH L 57.5% C 0.129 H 317.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#985EAA
RGBrgb(152, 94, 170)
HSLhsl(286, 31%, 52%)
HSVhsv(286, 45%, 67%)
CMYKcmyk(10.6%, 44.7%, 0%, 33.3%)
CIE-LABlab(48.99, 36.81, -31.36)
CIE-LCHlch(48.99, 48.36, 319.57°)
OKLaboklab(57.53% 0.0957 -0.0866)
OKLCHoklch(57.53% 0.129 317.9)
XYZxyz(24.2063, 17.5838, 40.1413)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EAA #70AA5E
analogous
#725EAA #985EAA #AA5E96
triadic
#985EAA #AA985E #5EAA98
tetradic
#985EAA #AA725E #70AA5E #5E96AA
square
#985EAA #AA725E #70AA5E #5E96AA
split-complementary
#985EAA #96AA5E #5EAA72
monochromatic
#52315D #764685 #985EAA #B286BF #CBAED4

Accessibility & contrast

On white

4.65
#985EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#985EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985EAA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EAA#FFFFFF#000000##FFFFFF
##985EAA1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5171AD
Deuteranopia (green-blind)
#6176A8
Tritanopia (blue-blind)
#98687C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985eaa;
/* rgb */ color: rgb(152, 94, 170);
/* oklch */ color: oklch(57.5% 0.129 317.9);
Tailwind
colors: {
  custom: {
    50: '#b88dc3',
    500: '#985eaa',
    950: '#000000',
  },
}
SCSS
$custom: #985eaa;
$custom-light: #b88dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#985eaa",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 170
  },
  "hsl": {
    "h": 285.789,
    "s": 30.894,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57529,
    "c": 0.12908,
    "h": 317.9
  },
  "luminance": 0.17583
}

Semantic roles & 50–950 ramp

primary
#985EAA
secondary
#A9C3A1
accent
#C76179
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #985EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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