#986CBB#986CBB

#986CBB is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.8% C 0.125 H 308.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#986CBB
RGBrgb(152, 108, 187)
HSLhsl(273, 37%, 58%)
HSVhsv(273, 42%, 73%)
CMYKcmyk(18.7%, 42.2%, 0%, 26.7%)
CIE-LABlab(52.94, 32.67, -35.05)
CIE-LCHlch(52.94, 47.92, 312.99°)
OKLaboklab(60.75% 0.0781 -0.0973)
OKLCHoklch(60.75% 0.125 308.7)
XYZxyz(27.2794, 20.9887, 49.6182)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CBB #8FBB6C
analogous
#716CBB #986CBB #BB6CB6
triadic
#986CBB #BB986C #6CBB98
tetradic
#986CBB #BB716C #8FBB6C #6CB6BB
square
#986CBB #BB716C #8FBB6C #6CB6BB
split-complementary
#986CBB #B6BB6C #6CBB71
monochromatic
#5A3776 #7A4AA0 #986CBB #B596CE #D3C0E2

Accessibility & contrast

On white

4.04
#986CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#986CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CBB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CBB#FFFFFF#000000##000000
##986CBB1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBE
Deuteranopia (green-blind)
#657FB9
Tritanopia (blue-blind)
#93788B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #986cbb;
/* rgb */ color: rgb(152, 108, 187);
/* oklch */ color: oklch(60.8% 0.125 308.7);
Tailwind
colors: {
  custom: {
    50: '#b897d0',
    500: '#986cbb',
    950: '#000000',
  },
}
SCSS
$custom: #986cbb;
$custom-light: #b897d0;
$custom-dark: #000000;
JSON
{
  "hex": "#986cbb",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 187
  },
  "hsl": {
    "h": 273.418,
    "s": 36.744,
    "l": 57.843
  },
  "oklch": {
    "l": 0.60752,
    "c": 0.1248,
    "h": 308.7
  },
  "luminance": 0.20988
}

Semantic roles & 50–950 ramp

primary
#986CBB
secondary
#C0D1B2
accent
#CD5B8D
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D14
muted
#807E82

Preview Lab

Preview with #986CBB

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

Preview Lab → · Contrast checker → · Palette generator →

#986CBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva