#985FA5#985FA5

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

Color values

HEX#985FA5
RGBrgb(152, 95, 165)
HSLhsl(289, 28%, 51%)
HSVhsv(289, 42%, 65%)
CMYKcmyk(7.9%, 42.4%, 0%, 35.3%)
CIE-LABlab(48.98, 35.21, -28.44)
CIE-LCHlch(48.98, 45.26, 321.07°)
OKLaboklab(57.45% 0.0932 -0.0782)
OKLCHoklch(57.45% 0.122 320)
XYZxyz(23.8318, 17.5772, 37.7274)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FA5 #6CA55F
analogous
#755FA5 #985FA5 #A55F8F
triadic
#985FA5 #A5985F #5FA598
tetradic
#985FA5 #A5755F #6CA55F #5F8FA5
square
#985FA5 #A5755F #6CA55F #5F8FA5
split-complementary
#985FA5 #8FA55F #5FA575
monochromatic
#513258 #75487F #985FA5 #B186BB #CAADD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##985FA5#FFFFFF#000000##FFFFFF
##985FA51.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)
#5570A8
Deuteranopia (green-blind)
#6476A3
Tritanopia (blue-blind)
#99687A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985fa5;
/* rgb */ color: rgb(152, 95, 165);
/* oklch */ color: oklch(57.4% 0.122 320.0);
Tailwind
colors: {
  custom: {
    50: '#b78ec0',
    500: '#985fa5',
    950: '#000000',
  },
}
SCSS
$custom: #985fa5;
$custom-light: #b78ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#985fa5",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 165
  },
  "hsl": {
    "h": 288.857,
    "s": 28,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57448,
    "c": 0.12172,
    "h": 320
  },
  "luminance": 0.17576
}

Semantic roles & 50–950 ramp

primary
#985FA5
secondary
#A6BFA0
accent
#C46375
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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