#985DB3#985DB3

#985DB3 is a mid, vivid purple. Relative luminance 0.178; OKLCH L 57.8% C 0.141 H 314.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#985DB3
RGBrgb(152, 93, 179)
HSLhsl(281, 36%, 53%)
HSVhsv(281, 48%, 70%)
CMYKcmyk(15.1%, 48%, 0%, 29.8%)
CIE-LABlab(49.20, 39.31, -36.28)
CIE-LCHlch(49.20, 53.49, 317.29°)
OKLaboklab(57.83% 0.0986 -0.1008)
OKLCHoklch(57.83% 0.141 314.4)
XYZxyz(24.9986, 17.7594, 44.7501)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985DB3 #78B35D
analogous
#6D5DB3 #985DB3 #B35DA3
triadic
#985DB3 #B3985D #5DB398
tetradic
#985DB3 #B36D5D #78B35D #5DA3B3
square
#985DB3 #B36D5D #78B35D #5DA3B3
split-complementary
#985DB3 #A3B35D #5DB36D
monochromatic
#553066 #78438F #985DB3 #B287C7 #CDB0DA

Accessibility & contrast

On white

4.61
#985DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#985DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985DB3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985DB3#FFFFFF#000000##FFFFFF
##985DB31.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B72B6
Deuteranopia (green-blind)
#5C77B1
Tritanopia (blue-blind)
#966A80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985db3;
/* rgb */ color: rgb(152, 93, 179);
/* oklch */ color: oklch(57.8% 0.141 314.4);
Tailwind
colors: {
  custom: {
    50: '#b88cca',
    500: '#985db3',
    950: '#000000',
  },
}
SCSS
$custom: #985db3;
$custom-light: #b88cca;
$custom-dark: #000000;
JSON
{
  "hex": "#985db3",
  "rgb": {
    "r": 152,
    "g": 93,
    "b": 179
  },
  "hsl": {
    "h": 281.163,
    "s": 36.134,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57832,
    "c": 0.14103,
    "h": 314.4
  },
  "luminance": 0.17759
}

Semantic roles & 50–950 ramp

primary
#985DB3
secondary
#AFC8A3
accent
#CC5C7F
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #985DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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