#985CB3#985CB3

#985CB3 is a mid, vivid purple. Relative luminance 0.176; OKLCH L 57.7% C 0.143 H 314.5°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#985CB3
RGBrgb(152, 92, 179)
HSLhsl(281, 36%, 53%)
HSVhsv(281, 49%, 70%)
CMYKcmyk(15.1%, 48.6%, 0%, 29.8%)
CIE-LABlab(48.99, 39.86, -36.62)
CIE-LCHlch(48.99, 54.12, 317.43°)
OKLaboklab(57.67% 0.1001 -0.1018)
OKLCHoklch(57.67% 0.143 314.5)
XYZxyz(24.9114, 17.5850, 44.7211)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CB3 #77B35C
analogous
#6C5CB3 #985CB3 #B35CA3
triadic
#985CB3 #B3985C #5CB398
tetradic
#985CB3 #B36C5C #77B35C #5CA3B3
square
#985CB3 #B36C5C #77B35C #5CA3B3
split-complementary
#985CB3 #A3B35C #5CB36C
monochromatic
#552F65 #77438F #985CB3 #B286C6 #CDAFDA

Accessibility & contrast

On white

4.65
#985CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#985CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985CB3
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CB3#FFFFFF#000000##FFFFFF
##985CB31.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #985cb3;
/* rgb */ color: rgb(152, 92, 179);
/* oklch */ color: oklch(57.7% 0.143 314.5);
Tailwind
colors: {
  custom: {
    50: '#b88cca',
    500: '#985cb3',
    950: '#000000',
  },
}
SCSS
$custom: #985cb3;
$custom-light: #b88cca;
$custom-dark: #000000;
JSON
{
  "hex": "#985cb3",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 179
  },
  "hsl": {
    "h": 281.379,
    "s": 36.402,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57672,
    "c": 0.14273,
    "h": 314.5
  },
  "luminance": 0.17584
}

Semantic roles & 50–950 ramp

primary
#985CB3
secondary
#AEC8A3
accent
#CC5B7E
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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