#985AB9#985AB9

#985AB9 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.7% C 0.153 H 312.7°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#985AB9
RGBrgb(152, 90, 185)
HSLhsl(279, 40%, 54%)
HSVhsv(279, 51%, 73%)
CMYKcmyk(17.8%, 51.4%, 0%, 27.5%)
CIE-LABlab(48.87, 42.27, -40.29)
CIE-LCHlch(48.87, 58.39, 316.37°)
OKLaboklab(57.69% 0.1036 -0.1124)
OKLCHoklch(57.69% 0.153 312.7)
XYZxyz(25.3605, 17.4911, 47.9297)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AB9 #7BB95A
analogous
#695AB9 #985AB9 #B95AAB
triadic
#985AB9 #B9985A #5AB998
tetradic
#985AB9 #B9695A #7BB95A #5AABB9
square
#985AB9 #B9695A #7BB95A #5AABB9
split-complementary
#985AB9 #ABB95A #5AB969
monochromatic
#562D6B #784096 #985AB9 #B385CB #CEB0DD

Accessibility & contrast

On white

4.67
#985AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#985AB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985AB9
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AB9#FFFFFF#000000##FFFFFF
##985AB91.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4371BC
Deuteranopia (green-blind)
#5676B7
Tritanopia (blue-blind)
#956981
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985ab9;
/* rgb */ color: rgb(152, 90, 185);
/* oklch */ color: oklch(57.7% 0.153 312.7);
Tailwind
colors: {
  custom: {
    50: '#b88bce',
    500: '#985ab9',
    950: '#000000',
  },
}
SCSS
$custom: #985ab9;
$custom-light: #b88bce;
$custom-dark: #000000;
JSON
{
  "hex": "#985ab9",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 185
  },
  "hsl": {
    "h": 279.158,
    "s": 40.426,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57686,
    "c": 0.1529,
    "h": 312.7
  },
  "luminance": 0.17491
}

Semantic roles & 50–950 ramp

primary
#985AB9
secondary
#B1CCA3
accent
#D05881
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #985AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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