#985BAF#985BAF

#985BAF is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.3% C 0.140 H 316.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#985BAF
RGBrgb(152, 91, 175)
HSLhsl(284, 34%, 52%)
HSVhsv(284, 48%, 69%)
CMYKcmyk(13.1%, 48%, 0%, 31.4%)
CIE-LABlab(48.58, 39.54, -34.93)
CIE-LCHlch(48.58, 52.76, 318.54°)
OKLaboklab(57.3% 0.1009 -0.0969)
OKLCHoklch(57.3% 0.14 316.2)
XYZxyz(24.4267, 17.2534, 42.5926)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BAF #72AF5B
analogous
#6E5BAF #985BAF #AF5B9C
triadic
#985BAF #AF985B #5BAF98
tetradic
#985BAF #AF6E5B #72AF5B #5B9CAF
square
#985BAF #AF6E5B #72AF5B #5B9CAF
split-complementary
#985BAF #9CAF5B #5BAF6E
monochromatic
#532F61 #76438A #985BAF #B284C3 #CCADD7

Accessibility & contrast

On white

4.72
#985BAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#985BAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985BAF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BAF#FFFFFF#000000##FFFFFF
##985BAF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B70B2
Deuteranopia (green-blind)
#5C75AD
Tritanopia (blue-blind)
#97677D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #985baf;
/* rgb */ color: rgb(152, 91, 175);
/* oklch */ color: oklch(57.3% 0.140 316.2);
Tailwind
colors: {
  custom: {
    50: '#b88bc7',
    500: '#985baf',
    950: '#000000',
  },
}
SCSS
$custom: #985baf;
$custom-light: #b88bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#985baf",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 175
  },
  "hsl": {
    "h": 283.571,
    "s": 34.426,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57302,
    "c": 0.13991,
    "h": 316.2
  },
  "luminance": 0.17253
}

Semantic roles & 50–950 ramp

primary
#985BAF
secondary
#ABC5A1
accent
#CB5D7B
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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