#985AB8#985AB8

#985AB8 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.6% C 0.152 H 313.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#985AB8
RGBrgb(152, 90, 184)
HSLhsl(280, 40%, 54%)
HSVhsv(280, 51%, 72%)
CMYKcmyk(17.4%, 51.1%, 0%, 27.8%)
CIE-LABlab(48.82, 42.05, -39.79)
CIE-LCHlch(48.82, 57.89, 316.58°)
OKLaboklab(57.63% 0.1035 -0.111)
OKLCHoklch(57.63% 0.152 313)
XYZxyz(25.2553, 17.4490, 47.3757)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985AB8 #7AB85A
analogous
#695AB8 #985AB8 #B85AA9
triadic
#985AB8 #B8985A #5AB898
tetradic
#985AB8 #B8695A #7AB85A #5AA9B8
square
#985AB8 #B8695A #7AB85A #5AA9B8
split-complementary
#985AB8 #A9B85A #5AB869
monochromatic
#552E6A #784095 #985AB8 #B385CA #CDB0DD

Accessibility & contrast

On white

4.68
#985AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#985AB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #985AB8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985AB8#FFFFFF#000000##FFFFFF
##985AB81.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4471BB
Deuteranopia (green-blind)
#5675B6
Tritanopia (blue-blind)
#956981
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985ab8;
/* rgb */ color: rgb(152, 90, 184);
/* oklch */ color: oklch(57.6% 0.152 313.0);
Tailwind
colors: {
  custom: {
    50: '#b88bce',
    500: '#985ab8',
    950: '#000000',
  },
}
SCSS
$custom: #985ab8;
$custom-light: #b88bce;
$custom-dark: #000000;
JSON
{
  "hex": "#985ab8",
  "rgb": {
    "r": 152,
    "g": 90,
    "b": 184
  },
  "hsl": {
    "h": 279.574,
    "s": 39.831,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57631,
    "c": 0.15177,
    "h": 313
  },
  "luminance": 0.17448
}

Semantic roles & 50–950 ramp

primary
#985AB8
secondary
#B0CBA3
accent
#D05881
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #985AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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