#985CB7#985CB7

#985CB7 is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.147 H 313.1°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#985CB7
RGBrgb(152, 92, 183)
HSLhsl(280, 39%, 54%)
HSVhsv(280, 50%, 72%)
CMYKcmyk(16.9%, 49.7%, 0%, 28.2%)
CIE-LABlab(49.19, 40.73, -38.63)
CIE-LCHlch(49.19, 56.14, 316.52°)
OKLaboklab(57.89% 0.1006 -0.1076)
OKLCHoklch(57.89% 0.147 313.1)
XYZxyz(25.3218, 17.7492, 46.8826)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985CB7 #7BB75C
analogous
#6B5CB7 #985CB7 #B75CA9
triadic
#985CB7 #B7985C #5CB798
tetradic
#985CB7 #B76B5C #7BB75C #5CA9B7
square
#985CB7 #B76B5C #7BB75C #5CA9B7
split-complementary
#985CB7 #A9B75C #5CB76B
monochromatic
#562F6A #784294 #985CB7 #B386CA #CEB1DD

Accessibility & contrast

On white

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

On black

4.55
#985CB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##985CB7#FFFFFF#000000##FFFFFF
##985CB71.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4772BA
Deuteranopia (green-blind)
#5976B5
Tritanopia (blue-blind)
#956A81
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #985cb7;
/* rgb */ color: rgb(152, 92, 183);
/* oklch */ color: oklch(57.9% 0.147 313.1);
Tailwind
colors: {
  custom: {
    50: '#b88ccd',
    500: '#985cb7',
    950: '#000000',
  },
}
SCSS
$custom: #985cb7;
$custom-light: #b88ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#985cb7",
  "rgb": {
    "r": 152,
    "g": 92,
    "b": 183
  },
  "hsl": {
    "h": 279.56,
    "s": 38.723,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57888,
    "c": 0.14729,
    "h": 313.1
  },
  "luminance": 0.17749
}

Semantic roles & 50–950 ramp

primary
#985CB7
secondary
#B1CBA4
accent
#CF5981
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #985CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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