#985AA7#985AA7

#985AA7 is a mid, vivid purple. Relative luminance 0.168; OKLCH L 56.7% C 0.133 H 319.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#985AA7
RGBrgb(152, 90, 167)
HSLhsl(288, 30%, 50%)
HSVhsv(288, 46%, 65%)
CMYKcmyk(9%, 46.1%, 0%, 34.5%)
CIE-LABlab(47.98, 38.40, -31.18)
CIE-LCHlch(47.98, 49.46, 320.93°)
OKLaboklab(56.73% 0.1011 -0.0861)
OKLCHoklch(56.73% 0.133 319.6)
XYZxyz(23.5792, 16.7786, 38.5482)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AA7 #69A75A
analogous
#715AA7 #985AA7 #A75A8F
triadic
#985AA7 #A7985A #5AA798
tetradic
#985AA7 #A7715A #69A75A #5A8FA7
square
#985AA7 #A7715A #69A75A #5A8FA7
split-complementary
#985AA7 #8FA75A #5AA771
monochromatic
#502F58 #744480 #985AA7 #B182BC #CAAAD2

Accessibility & contrast

On white

4.82
#985AA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#985AA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985AA7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AA7#FFFFFF#000000##FFFFFF
##985AA71.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAA
Deuteranopia (green-blind)
#5F74A5
Tritanopia (blue-blind)
#996479
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #985aa7;
/* rgb */ color: rgb(152, 90, 167);
/* oklch */ color: oklch(56.7% 0.133 319.6);
Tailwind
colors: {
  custom: {
    50: '#b88ac1',
    500: '#985aa7',
    950: '#000000',
  },
}
SCSS
$custom: #985aa7;
$custom-light: #b88ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#985aa7",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 167
  },
  "hsl": {
    "h": 288.312,
    "s": 30.435,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56731,
    "c": 0.13278,
    "h": 319.6
  },
  "luminance": 0.16778
}

Semantic roles & 50–950 ramp

primary
#985AA7
secondary
#A4C09D
accent
#C76175
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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