#985FA6#985FA6

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

Color values

HEX#985FA6
RGBrgb(152, 95, 166)
HSLhsl(288, 29%, 51%)
HSVhsv(288, 43%, 65%)
CMYKcmyk(8.4%, 42.8%, 0%, 34.9%)
CIE-LABlab(49.02, 35.41, -28.96)
CIE-LCHlch(49.02, 45.75, 320.73°)
OKLaboklab(57.5% 0.0934 -0.0797)
OKLCHoklch(57.5% 0.123 319.5)
XYZxyz(23.9232, 17.6138, 38.2086)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FA6 #6DA65F
analogous
#745FA6 #985FA6 #A65F90
triadic
#985FA6 #A6985F #5FA698
tetradic
#985FA6 #A6745F #6DA65F #5F90A6
square
#985FA6 #A6745F #6DA65F #5F90A6
split-complementary
#985FA6 #90A65F #5FA674
monochromatic
#513259 #754780 #985FA6 #B186BC #CBAED2

Accessibility & contrast

On white

4.64
#985FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #985FA6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FA6#FFFFFF#000000##FFFFFF
##985FA61.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5571A9
Deuteranopia (green-blind)
#6477A4
Tritanopia (blue-blind)
#99687B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985fa6;
/* rgb */ color: rgb(152, 95, 166);
/* oklch */ color: oklch(57.5% 0.123 319.5);
Tailwind
colors: {
  custom: {
    50: '#b78ec0',
    500: '#985fa6',
    950: '#000000',
  },
}
SCSS
$custom: #985fa6;
$custom-light: #b78ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#985fa6",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 166
  },
  "hsl": {
    "h": 288.169,
    "s": 28.514,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57497,
    "c": 0.12283,
    "h": 319.5
  },
  "luminance": 0.17613
}

Semantic roles & 50–950 ramp

primary
#985FA6
secondary
#A7C0A1
accent
#C56376
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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