#985FAA#985FAA

#985FAA is a mid, vivid purple. Relative luminance 0.178; OKLCH L 57.7% C 0.127 H 317.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#985FAA
RGBrgb(152, 95, 170)
HSLhsl(286, 31%, 52%)
HSVhsv(286, 44%, 67%)
CMYKcmyk(10.6%, 44.1%, 0%, 33.3%)
CIE-LABlab(49.21, 36.26, -31.02)
CIE-LCHlch(49.21, 47.71, 319.45°)
OKLaboklab(57.69% 0.0942 -0.0856)
OKLCHoklch(57.69% 0.127 317.7)
XYZxyz(24.2958, 17.7628, 40.1712)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FAA #71AA5F
analogous
#735FAA #985FAA #AA5F97
triadic
#985FAA #AA985F #5FAA98
tetradic
#985FAA #AA735F #71AA5F #5F97AA
square
#985FAA #AA735F #71AA5F #5F97AA
split-complementary
#985FAA #97AA5F #5FAA73
monochromatic
#53315D #764785 #985FAA #B287BF #CBAFD4

Accessibility & contrast

On white

4.61
#985FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#985FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985FAA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FAA#FFFFFF#000000##FFFFFF
##985FAA1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5371AD
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#98697C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985faa;
/* rgb */ color: rgb(152, 95, 170);
/* oklch */ color: oklch(57.7% 0.127 317.7);
Tailwind
colors: {
  custom: {
    50: '#b88ec3',
    500: '#985faa',
    950: '#000000',
  },
}
SCSS
$custom: #985faa;
$custom-light: #b88ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#985faa",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 170
  },
  "hsl": {
    "h": 285.6,
    "s": 30.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.57694,
    "c": 0.12732,
    "h": 317.7
  },
  "luminance": 0.17762
}

Semantic roles & 50–950 ramp

primary
#985FAA
secondary
#AAC3A2
accent
#C76179
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #985FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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