#985BB4#985BB4

#985BB4 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 57.6% C 0.146 H 314.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#985BB4
RGBrgb(152, 91, 180)
HSLhsl(281, 37%, 53%)
HSVhsv(281, 49%, 71%)
CMYKcmyk(15.6%, 49.4%, 0%, 29.4%)
CIE-LABlab(48.83, 40.62, -37.46)
CIE-LCHlch(48.83, 55.25, 317.32°)
OKLaboklab(57.57% 0.1016 -0.1042)
OKLCHoklch(57.57% 0.146 314.3)
XYZxyz(24.9269, 17.4535, 45.2269)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BB4 #77B45B
analogous
#6C5BB4 #985BB4 #B45BA3
triadic
#985BB4 #B4985B #5BB498
tetradic
#985BB4 #B46C5B #77B45B #5BA3B4
square
#985BB4 #B46C5B #77B45B #5BA3B4
split-complementary
#985BB4 #A3B45B #5BB46C
monochromatic
#552F66 #774290 #985BB4 #B285C7 #CDAFDA

Accessibility & contrast

On white

4.68
#985BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#985BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985BB4
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BB4#FFFFFF#000000##FFFFFF
##985BB41.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B7
Deuteranopia (green-blind)
#5A76B2
Tritanopia (blue-blind)
#96697F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985bb4;
/* rgb */ color: rgb(152, 91, 180);
/* oklch */ color: oklch(57.6% 0.146 314.3);
Tailwind
colors: {
  custom: {
    50: '#b88bcb',
    500: '#985bb4',
    950: '#000000',
  },
}
SCSS
$custom: #985bb4;
$custom-light: #b88bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#985bb4",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 281.124,
    "s": 37.238,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57568,
    "c": 0.14556,
    "h": 314.3
  },
  "luminance": 0.17453
}

Semantic roles & 50–950 ramp

primary
#985BB4
secondary
#AEC9A2
accent
#CD5B7F
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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