#985AA2#985AA2

#985AA2 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 56.5% C 0.127 H 321.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#985AA2
RGBrgb(152, 90, 162)
HSLhsl(292, 29%, 49%)
HSVhsv(292, 44%, 64%)
CMYKcmyk(6.2%, 44.4%, 0%, 36.5%)
CIE-LABlab(47.75, 37.37, -28.59)
CIE-LCHlch(47.75, 47.05, 322.58°)
OKLaboklab(56.48% 0.1002 -0.0786)
OKLCHoklch(56.48% 0.127 321.9)
XYZxyz(23.1259, 16.5973, 36.1608)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AA2 #64A25A
analogous
#745AA2 #985AA2 #A25A88
triadic
#985AA2 #A2985A #5AA298
tetradic
#985AA2 #A2745A #64A25A #5A88A2
square
#985AA2 #A2745A #64A25A #5A88A2
split-complementary
#985AA2 #88A25A #5AA274
monochromatic
#4E2E53 #73447B #985AA2 #B180B9 #C9A8CF

Accessibility & contrast

On white

4.86
#985AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#985AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985AA2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AA2#FFFFFF#000000##FFFFFF
##985AA21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#6274A0
Tritanopia (blue-blind)
#9A6376
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #985aa2;
/* rgb */ color: rgb(152, 90, 162);
/* oklch */ color: oklch(56.5% 0.127 321.9);
Tailwind
colors: {
  custom: {
    50: '#b88abe',
    500: '#985aa2',
    950: '#000000',
  },
}
SCSS
$custom: #985aa2;
$custom-light: #b88abe;
$custom-dark: #000000;
JSON
{
  "hex": "#985aa2",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 162
  },
  "hsl": {
    "h": 291.667,
    "s": 28.571,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56483,
    "c": 0.12737,
    "h": 321.9
  },
  "luminance": 0.16596
}

Semantic roles & 50–950 ramp

primary
#985AA2
secondary
#A0BD9B
accent
#C56371
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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