#985BB5#985BB5

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

Color values

HEX#985BB5
RGBrgb(152, 91, 181)
HSLhsl(281, 38%, 53%)
HSVhsv(281, 50%, 71%)
CMYKcmyk(16%, 49.7%, 0%, 29%)
CIE-LABlab(48.88, 40.84, -37.96)
CIE-LCHlch(48.88, 55.76, 317.10°)
OKLaboklab(57.62% 0.1017 -0.1057)
OKLCHoklch(57.62% 0.147 313.9)
XYZxyz(25.0291, 17.4944, 45.7654)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BB5 #78B55B
analogous
#6B5BB5 #985BB5 #B55BA5
triadic
#985BB5 #B5985B #5BB598
tetradic
#985BB5 #B56B5B #78B55B #5BA5B5
square
#985BB5 #B56B5B #78B55B #5BA5B5
split-complementary
#985BB5 #A5B55B #5BB56B
monochromatic
#552F67 #784291 #985BB5 #B285C8 #CDAFDB

Accessibility & contrast

On white

4.67
#985BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#985BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985BB5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BB5#FFFFFF#000000##FFFFFF
##985BB51.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4771B8
Deuteranopia (green-blind)
#5976B3
Tritanopia (blue-blind)
#966980
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985bb5;
/* rgb */ color: rgb(152, 91, 181);
/* oklch */ color: oklch(57.6% 0.147 313.9);
Tailwind
colors: {
  custom: {
    50: '#b88bcb',
    500: '#985bb5',
    950: '#000000',
  },
}
SCSS
$custom: #985bb5;
$custom-light: #b88bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#985bb5",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 280.667,
    "s": 37.815,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57622,
    "c": 0.14669,
    "h": 313.9
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

primary
#985BB5
secondary
#AFC9A3
accent
#CE5A7F
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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