#985FB3#985FB3

#985FB3 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.2% C 0.138 H 314.1°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#985FB3
RGBrgb(152, 95, 179)
HSLhsl(281, 36%, 54%)
HSVhsv(281, 47%, 70%)
CMYKcmyk(15.1%, 46.9%, 0%, 29.8%)
CIE-LABlab(49.64, 38.20, -35.60)
CIE-LCHlch(49.64, 52.22, 317.02°)
OKLaboklab(58.15% 0.0957 -0.0989)
OKLCHoklch(58.15% 0.138 314.1)
XYZxyz(25.1765, 18.1151, 44.8094)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FB3 #7AB35F
analogous
#6E5FB3 #985FB3 #B35FA4
triadic
#985FB3 #B3985F #5FB398
tetradic
#985FB3 #B36E5F #7AB35F #5FA4B3
square
#985FB3 #B36E5F #7AB35F #5FA4B3
split-complementary
#985FB3 #A4B35F #5FB36E
monochromatic
#553167 #784590 #985FB3 #B388C7 #CDB2DA

Accessibility & contrast

On white

4.54
#985FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#985FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FB3
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FB3#FFFFFF#000000##000000
##985FB31.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B6
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#966B80
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #985fb3;
/* rgb */ color: rgb(152, 95, 179);
/* oklch */ color: oklch(58.2% 0.138 314.1);
Tailwind
colors: {
  custom: {
    50: '#b88eca',
    500: '#985fb3',
    950: '#000000',
  },
}
SCSS
$custom: #985fb3;
$custom-light: #b88eca;
$custom-dark: #000000;
JSON
{
  "hex": "#985fb3",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 179
  },
  "hsl": {
    "h": 280.714,
    "s": 35.593,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58154,
    "c": 0.13761,
    "h": 314.1
  },
  "luminance": 0.18114
}

Semantic roles & 50–950 ramp

primary
#985FB3
secondary
#B0C9A5
accent
#CC5C80
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #985FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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