#985EA1#985EA1

#985EA1 is a mid, moderate purple. Relative luminance 0.173; OKLCH L 57.1% C 0.119 H 322.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#985EA1
RGBrgb(152, 94, 161)
HSLhsl(292, 26%, 50%)
HSVhsv(292, 42%, 63%)
CMYKcmyk(5.6%, 41.6%, 0%, 36.9%)
CIE-LABlab(48.58, 34.94, -26.71)
CIE-LCHlch(48.58, 43.98, 322.61°)
OKLaboklab(57.09% 0.0939 -0.0733)
OKLCHoklch(57.09% 0.119 322)
XYZxyz(23.3839, 17.2549, 35.8101)
Luminance0.1725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985EA1 #67A15E
analogous
#765EA1 #985EA1 #A15E89
triadic
#985EA1 #A1985E #5EA198
tetradic
#985EA1 #A1765E #67A15E #5E89A1
square
#985EA1 #A1765E #67A15E #5E89A1
split-complementary
#985EA1 #89A15E #5EA176
monochromatic
#4F3154 #74477A #985EA1 #B185B8 #C9ABCE

Accessibility & contrast

On white

4.72
#985EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#985EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985EA1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985EA1#FFFFFF#000000##FFFFFF
##985EA11.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566FA3
Deuteranopia (green-blind)
#65769F
Tritanopia (blue-blind)
#9A6678
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #985ea1;
/* rgb */ color: rgb(152, 94, 161);
/* oklch */ color: oklch(57.1% 0.119 322.0);
Tailwind
colors: {
  custom: {
    50: '#b78dbd',
    500: '#985ea1',
    950: '#000000',
  },
}
SCSS
$custom: #985ea1;
$custom-light: #b78dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#985ea1",
  "rgb": {
    "r": 152,
    "g": 94,
    "b": 161
  },
  "hsl": {
    "h": 291.94,
    "s": 26.275,
    "l": 50
  },
  "oklch": {
    "l": 0.5709,
    "c": 0.11913,
    "h": 322
  },
  "luminance": 0.17254
}

Semantic roles & 50–950 ramp

primary
#985EA1
secondary
#A2BC9E
accent
#C36572
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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