#985BB7#985BB7

#985BB7 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.7% C 0.149 H 313.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#985BB7
RGBrgb(152, 91, 183)
HSLhsl(280, 39%, 54%)
HSVhsv(280, 50%, 72%)
CMYKcmyk(16.9%, 50.3%, 0%, 28.2%)
CIE-LABlab(48.98, 41.28, -38.96)
CIE-LCHlch(48.98, 56.76, 316.66°)
OKLaboklab(57.73% 0.102 -0.1086)
OKLCHoklch(57.73% 0.149 313.2)
XYZxyz(25.2358, 17.5771, 46.8539)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#985BB7 #7AB75B
analogous
#6A5BB7 #985BB7 #B75BA8
triadic
#985BB7 #B7985B #5BB798
tetradic
#985BB7 #B76A5B #7AB75B #5BA8B7
square
#985BB7 #B76A5B #7AB75B #5BA8B7
split-complementary
#985BB7 #A8B75B #5BB76A
monochromatic
#552E69 #784194 #985BB7 #B386CA #CDB0DC

Accessibility & contrast

On white

4.65
#985BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#985BB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #985BB7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##985BB7#FFFFFF#000000##FFFFFF
##985BB71.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#5876B5
Tritanopia (blue-blind)
#956981
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #985bb7;
/* rgb */ color: rgb(152, 91, 183);
/* oklch */ color: oklch(57.7% 0.149 313.2);
Tailwind
colors: {
  custom: {
    50: '#b88bcd',
    500: '#985bb7',
    950: '#000000',
  },
}
SCSS
$custom: #985bb7;
$custom-light: #b88bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#985bb7",
  "rgb": {
    "r": 152,
    "g": 91,
    "b": 183
  },
  "hsl": {
    "h": 279.783,
    "s": 38.983,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57731,
    "c": 0.14897,
    "h": 313.2
  },
  "luminance": 0.17576
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #985BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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