#985BB2#985BB2

#985BB2 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.5% C 0.143 H 315.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#985BB2
RGBrgb(152, 91, 178)
HSLhsl(282, 36%, 53%)
HSVhsv(282, 49%, 70%)
CMYKcmyk(14.6%, 48.9%, 0%, 30.2%)
CIE-LABlab(48.73, 40.19, -36.45)
CIE-LCHlch(48.73, 54.25, 317.79°)
OKLaboklab(57.46% 0.1014 -0.1013)
OKLCHoklch(57.46% 0.143 315)
XYZxyz(24.7246, 17.3726, 44.1617)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BB2 #75B25B
analogous
#6C5BB2 #985BB2 #B25BA1
triadic
#985BB2 #B2985B #5BB298
tetradic
#985BB2 #B26C5B #75B25B #5BA1B2
square
#985BB2 #B26C5B #75B25B #5BA1B2
split-complementary
#985BB2 #A1B25B #5BB26C
monochromatic
#542F64 #77428D #985BB2 #B285C6 #CCAED9

Accessibility & contrast

On white

4.69
#985BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #985BB2
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BB2#FFFFFF#000000##FFFFFF
##985BB21.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#5B75B0
Tritanopia (blue-blind)
#96687E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985bb2;
/* rgb */ color: rgb(152, 91, 178);
/* oklch */ color: oklch(57.5% 0.143 315.0);
Tailwind
colors: {
  custom: {
    50: '#b88bc9',
    500: '#985bb2',
    950: '#000000',
  },
}
SCSS
$custom: #985bb2;
$custom-light: #b88bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#985bb2",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 282.069,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57461,
    "c": 0.1433,
    "h": 315
  },
  "luminance": 0.17372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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