#985CB2#985CB2

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

Color values

HEX#985CB2
RGBrgb(152, 92, 178)
HSLhsl(282, 36%, 53%)
HSVhsv(282, 48%, 70%)
CMYKcmyk(14.6%, 48.3%, 0%, 30.2%)
CIE-LABlab(48.94, 39.64, -36.11)
CIE-LCHlch(48.94, 53.62, 317.67°)
OKLaboklab(57.62% 0.0999 -0.1003)
OKLCHoklch(57.62% 0.142 314.9)
XYZxyz(24.8107, 17.5447, 44.1903)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CB2 #76B25C
analogous
#6D5CB2 #985CB2 #B25CA1
triadic
#985CB2 #B2985C #5CB298
tetradic
#985CB2 #B26D5C #76B25C #5CA1B2
square
#985CB2 #B26D5C #76B25C #5CA1B2
split-complementary
#985CB2 #A1B25C #5CB26D
monochromatic
#542F64 #77438E #985CB2 #B286C6 #CDAFD9

Accessibility & contrast

On white

4.66
#985CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#985CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985CB2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CB2#FFFFFF#000000##FFFFFF
##985CB21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A71B5
Deuteranopia (green-blind)
#5C76B0
Tritanopia (blue-blind)
#96697F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985cb2;
/* rgb */ color: rgb(152, 92, 178);
/* oklch */ color: oklch(57.6% 0.142 314.9);
Tailwind
colors: {
  custom: {
    50: '#b88cc9',
    500: '#985cb2',
    950: '#000000',
  },
}
SCSS
$custom: #985cb2;
$custom-light: #b88cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#985cb2",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 281.86,
    "s": 35.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57619,
    "c": 0.14159,
    "h": 314.9
  },
  "luminance": 0.17544
}

Semantic roles & 50–950 ramp

primary
#985CB2
secondary
#AEC7A2
accent
#CC5C7E
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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