#985FAC#985FAC

#985FAC is a mid, vivid purple. Relative luminance 0.178; OKLCH L 57.8% C 0.130 H 316.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#985FAC
RGBrgb(152, 95, 172)
HSLhsl(284, 32%, 52%)
HSVhsv(284, 45%, 67%)
CMYKcmyk(11.6%, 44.8%, 0%, 32.5%)
CIE-LABlab(49.30, 36.68, -32.04)
CIE-LCHlch(49.30, 48.71, 318.86°)
OKLaboklab(57.79% 0.0946 -0.0886)
OKLCHoklch(57.79% 0.13 316.9)
XYZxyz(24.4864, 17.8391, 41.1751)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FAC #73AC5F
analogous
#725FAC #985FAC #AC5F99
triadic
#985FAC #AC985F #5FAC98
tetradic
#985FAC #AC725F #73AC5F #5F99AC
square
#985FAC #AC725F #73AC5F #5F99AC
split-complementary
#985FAC #99AC5F #5FAC72
monochromatic
#53315F #774688 #985FAC #B287C1 #CCB0D6

Accessibility & contrast

On white

4.60
#985FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#985FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985FAC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FAC#FFFFFF#000000##FFFFFF
##985FAC1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5272AF
Deuteranopia (green-blind)
#6177AA
Tritanopia (blue-blind)
#976A7D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985fac;
/* rgb */ color: rgb(152, 95, 172);
/* oklch */ color: oklch(57.8% 0.130 316.9);
Tailwind
colors: {
  custom: {
    50: '#b88ec5',
    500: '#985fac',
    950: '#000000',
  },
}
SCSS
$custom: #985fac;
$custom-light: #b88ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#985fac",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 172
  },
  "hsl": {
    "h": 284.416,
    "s": 31.687,
    "l": 52.353
  },
  "oklch": {
    "l": 0.57794,
    "c": 0.12958,
    "h": 316.9
  },
  "luminance": 0.17838
}

Semantic roles & 50–950 ramp

primary
#985FAC
secondary
#ABC4A3
accent
#C8607B
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #985FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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