#985FB2#985FB2

#985FB2 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 58.1% C 0.136 H 314.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#985FB2
RGBrgb(152, 95, 178)
HSLhsl(281, 35%, 54%)
HSVhsv(281, 47%, 70%)
CMYKcmyk(14.6%, 46.6%, 0%, 30.2%)
CIE-LABlab(49.59, 37.98, -35.09)
CIE-LCHlch(49.59, 51.71, 317.26°)
OKLaboklab(58.1% 0.0956 -0.0974)
OKLCHoklch(58.1% 0.136 314.5)
XYZxyz(25.0757, 18.0748, 44.2787)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985FB2 #79B25F
analogous
#6E5FB2 #985FB2 #B25FA2
triadic
#985FB2 #B2985F #5FB298
tetradic
#985FB2 #B26E5F #79B25F #5FA2B2
square
#985FB2 #B26E5F #79B25F #5FA2B2
split-complementary
#985FB2 #A2B25F #5FB26E
monochromatic
#553166 #78458F #985FB2 #B388C6 #CDB2DA

Accessibility & contrast

On white

4.55
#985FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#985FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #985FB2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985FB2#FFFFFF#000000##000000
##985FB21.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #985fb2;
/* rgb */ color: rgb(152, 95, 178);
/* oklch */ color: oklch(58.1% 0.136 314.5);
Tailwind
colors: {
  custom: {
    50: '#b88ec9',
    500: '#985fb2',
    950: '#000000',
  },
}
SCSS
$custom: #985fb2;
$custom-light: #b88ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#985fb2",
  "rgb": {
    "r": 152,
    "g": 95,
    "b": 178
  },
  "hsl": {
    "h": 281.205,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58101,
    "c": 0.13646,
    "h": 314.5
  },
  "luminance": 0.18074
}

Semantic roles & 50–950 ramp

primary
#985FB2
secondary
#B0C8A5
accent
#CB5D7F
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #985FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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