#985FA8#985FA8

#985FA8 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 57.6% C 0.125 H 318.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#985FA8
RGBrgb(152, 95, 168)
HSLhsl(287, 30%, 52%)
HSVhsv(287, 43%, 66%)
CMYKcmyk(9.5%, 43.5%, 0%, 34.1%)
CIE-LABlab(49.12, 35.83, -29.99)
CIE-LCHlch(49.12, 46.73, 320.07°)
OKLaboklab(57.6% 0.0938 -0.0827)
OKLCHoklch(57.6% 0.125 318.6)
XYZxyz(24.1080, 17.6877, 39.1823)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FA8 #6FA85F
analogous
#745FA8 #985FA8 #A85F94
triadic
#985FA8 #A8985F #5FA898
tetradic
#985FA8 #A8745F #6FA85F #5F94A8
square
#985FA8 #A8745F #6FA85F #5F94A8
split-complementary
#985FA8 #94A85F #5FA874
monochromatic
#52325B #764783 #985FA8 #B287BE #CBAED3

Accessibility & contrast

On white

4.63
#985FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#985FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985FA8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FA8#FFFFFF#000000##FFFFFF
##985FA81.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5471AB
Deuteranopia (green-blind)
#6377A6
Tritanopia (blue-blind)
#98687B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985fa8;
/* rgb */ color: rgb(152, 95, 168);
/* oklch */ color: oklch(57.6% 0.125 318.6);
Tailwind
colors: {
  custom: {
    50: '#b88ec2',
    500: '#985fa8',
    950: '#000000',
  },
}
SCSS
$custom: #985fa8;
$custom-light: #b88ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#985fa8",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 168
  },
  "hsl": {
    "h": 286.849,
    "s": 29.555,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57595,
    "c": 0.12507,
    "h": 318.6
  },
  "luminance": 0.17687
}

Semantic roles & 50–950 ramp

primary
#985FA8
secondary
#A8C1A1
accent
#C66278
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #985FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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