#985CB6#985CB6

#985CB6 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 57.8% C 0.146 H 313.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#985CB6
RGBrgb(152, 92, 182)
HSLhsl(280, 38%, 54%)
HSVhsv(280, 49%, 71%)
CMYKcmyk(16.5%, 49.5%, 0%, 28.6%)
CIE-LABlab(49.14, 40.51, -38.13)
CIE-LCHlch(49.14, 55.63, 316.74°)
OKLaboklab(57.83% 0.1005 -0.1062)
OKLCHoklch(57.83% 0.146 313.4)
XYZxyz(25.2181, 17.7077, 46.3364)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CB6 #7AB65C
analogous
#6B5CB6 #985CB6 #B65CA7
triadic
#985CB6 #B6985C #5CB698
tetradic
#985CB6 #B66B5C #7AB65C #5CA7B6
square
#985CB6 #B66B5C #7AB65C #5CA7B6
split-complementary
#985CB6 #A7B65C #5CB66B
monochromatic
#552F69 #784293 #985CB6 #B386C9 #CDB1DC

Accessibility & contrast

On white

4.62
#985CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#985CB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985CB6
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985CB6#FFFFFF#000000##FFFFFF
##985CB61.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4871B9
Deuteranopia (green-blind)
#5976B4
Tritanopia (blue-blind)
#956A80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985cb6;
/* rgb */ color: rgb(152, 92, 182);
/* oklch */ color: oklch(57.8% 0.146 313.4);
Tailwind
colors: {
  custom: {
    50: '#b88ccc',
    500: '#985cb6',
    950: '#000000',
  },
}
SCSS
$custom: #985cb6;
$custom-light: #b88ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#985cb6",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 182
  },
  "hsl": {
    "h": 280,
    "s": 38.136,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57834,
    "c": 0.14615,
    "h": 313.4
  },
  "luminance": 0.17707
}

Semantic roles & 50–950 ramp

primary
#985CB6
secondary
#B0CAA4
accent
#CE5A81
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #985CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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