#985CB5#985CB5

#985CB5 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 57.8% C 0.145 H 313.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#985CB5
RGBrgb(152, 92, 181)
HSLhsl(280, 38%, 54%)
HSVhsv(280, 49%, 71%)
CMYKcmyk(16%, 49.2%, 0%, 29%)
CIE-LABlab(49.09, 40.29, -37.62)
CIE-LCHlch(49.09, 55.13, 316.96°)
OKLaboklab(57.78% 0.1003 -0.1047)
OKLCHoklch(57.78% 0.145 313.8)
XYZxyz(25.1152, 17.6665, 45.7941)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CB5 #79B55C
analogous
#6B5CB5 #985CB5 #B55CA6
triadic
#985CB5 #B5985C #5CB598
tetradic
#985CB5 #B56B5C #79B55C #5CA6B5
square
#985CB5 #B56B5C #79B55C #5CA6B5
split-complementary
#985CB5 #A6B55C #5CB56B
monochromatic
#552F68 #784292 #985CB5 #B386C8 #CDB0DB

Accessibility & contrast

On white

4.63
#985CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#985CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985CB5
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CB5#FFFFFF#000000##FFFFFF
##985CB51.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4971B8
Deuteranopia (green-blind)
#5A76B3
Tritanopia (blue-blind)
#966A80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985cb5;
/* rgb */ color: rgb(152, 92, 181);
/* oklch */ color: oklch(57.8% 0.145 313.8);
Tailwind
colors: {
  custom: {
    50: '#b88ccb',
    500: '#985cb5',
    950: '#000000',
  },
}
SCSS
$custom: #985cb5;
$custom-light: #b88ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#985cb5",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 181
  },
  "hsl": {
    "h": 280.449,
    "s": 37.553,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5778,
    "c": 0.145,
    "h": 313.8
  },
  "luminance": 0.17666
}

Semantic roles & 50–950 ramp

primary
#985CB5
secondary
#B0C9A3
accent
#CE5A80
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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