#985BB1#985BB1

#985BB1 is a mid, vivid purple. Relative luminance 0.173; OKLCH L 57.4% C 0.142 H 315.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#985BB1
RGBrgb(152, 91, 177)
HSLhsl(283, 36%, 53%)
HSVhsv(283, 49%, 69%)
CMYKcmyk(14.1%, 48.6%, 0%, 30.6%)
CIE-LABlab(48.68, 39.97, -35.94)
CIE-LCHlch(48.68, 53.75, 318.04°)
OKLaboklab(57.41% 0.1012 -0.0998)
OKLCHoklch(57.41% 0.142 315.4)
XYZxyz(24.6246, 17.3326, 43.6348)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BB1 #74B15B
analogous
#6D5BB1 #985BB1 #B15B9F
triadic
#985BB1 #B1985B #5BB198
tetradic
#985BB1 #B16D5B #74B15B #5B9FB1
square
#985BB1 #B16D5B #74B15B #5B9FB1
split-complementary
#985BB1 #9FB15B #5BB16D
monochromatic
#542F63 #77438C #985BB1 #B284C5 #CCAED8

Accessibility & contrast

On white

4.70
#985BB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#985BB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985BB1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BB1#FFFFFF#000000##FFFFFF
##985BB11.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A70B4
Deuteranopia (green-blind)
#5B75AF
Tritanopia (blue-blind)
#97687E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985bb1;
/* rgb */ color: rgb(152, 91, 177);
/* oklch */ color: oklch(57.4% 0.142 315.4);
Tailwind
colors: {
  custom: {
    50: '#b88bc8',
    500: '#985bb1',
    950: '#000000',
  },
}
SCSS
$custom: #985bb1;
$custom-light: #b88bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#985bb1",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 282.558,
    "s": 35.537,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57408,
    "c": 0.14217,
    "h": 315.4
  },
  "luminance": 0.17332
}

Semantic roles & 50–950 ramp

primary
#985BB1
secondary
#ACC7A1
accent
#CC5C7D
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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