#985FAF#985FAF

#985FAF is a mid, vivid purple. Relative luminance 0.180; OKLCH L 57.9% C 0.133 H 315.6°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#985FAF
RGBrgb(152, 95, 175)
HSLhsl(283, 33%, 53%)
HSVhsv(283, 46%, 69%)
CMYKcmyk(13.1%, 45.7%, 0%, 31.4%)
CIE-LABlab(49.44, 37.33, -33.57)
CIE-LCHlch(49.44, 50.20, 318.03°)
OKLaboklab(57.95% 0.0951 -0.093)
OKLCHoklch(57.95% 0.133 315.6)
XYZxyz(24.7778, 17.9556, 42.7097)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FAF #76AF5F
analogous
#705FAF #985FAF #AF5F9E
triadic
#985FAF #AF985F #5FAF98
tetradic
#985FAF #AF705F #76AF5F #5F9EAF
square
#985FAF #AF705F #76AF5F #5F9EAF
split-complementary
#985FAF #9EAF5F #5FAF70
monochromatic
#543162 #77468B #985FAF #B288C3 #CDB1D8

Accessibility & contrast

On white

4.57
#985FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#985FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FAF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FAF#FFFFFF#000000##000000
##985FAF1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5072B2
Deuteranopia (green-blind)
#6077AD
Tritanopia (blue-blind)
#976A7F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985faf;
/* rgb */ color: rgb(152, 95, 175);
/* oklch */ color: oklch(57.9% 0.133 315.6);
Tailwind
colors: {
  custom: {
    50: '#b88ec7',
    500: '#985faf',
    950: '#000000',
  },
}
SCSS
$custom: #985faf;
$custom-light: #b88ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#985faf",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 175
  },
  "hsl": {
    "h": 282.75,
    "s": 33.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57946,
    "c": 0.13301,
    "h": 315.6
  },
  "luminance": 0.17955
}

Semantic roles & 50–950 ramp

primary
#985FAF
secondary
#AEC6A4
accent
#C95E7D
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #985FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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