#986FBB#986FBB

#986FBB is a mid, moderate violet. Relative luminance 0.216; OKLCH L 61.3% C 0.120 H 308.0°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#986FBB
RGBrgb(152, 111, 187)
HSLhsl(272, 36%, 58%)
HSVhsv(272, 41%, 73%)
CMYKcmyk(18.7%, 40.6%, 0%, 26.7%)
CIE-LABlab(53.63, 30.96, -33.96)
CIE-LCHlch(53.63, 45.95, 312.35°)
OKLaboklab(61.28% 0.0737 -0.0942)
OKLCHoklch(61.28% 0.12 308)
XYZxyz(27.6013, 21.6324, 49.7255)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FBB #92BB6F
analogous
#726FBB #986FBB #BB6FB8
triadic
#986FBB #BB986F #6FBB98
tetradic
#986FBB #BB726F #92BB6F #6FB8BB
square
#986FBB #BB726F #92BB6F #6FB8BB
split-complementary
#986FBB #B8BB6F #6FBB72
monochromatic
#5A3877 #7A4CA1 #986FBB #B699CF #D3C2E2

Accessibility & contrast

On white

3.94
#986FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#986FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FBB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FBB#FFFFFF#000000##000000
##986FBB1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7EBE
Deuteranopia (green-blind)
#6881B9
Tritanopia (blue-blind)
#937B8C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #986fbb;
/* rgb */ color: rgb(152, 111, 187);
/* oklch */ color: oklch(61.3% 0.120 308.0);
Tailwind
colors: {
  custom: {
    50: '#b799cf',
    500: '#986fbb',
    950: '#000000',
  },
}
SCSS
$custom: #986fbb;
$custom-light: #b799cf;
$custom-dark: #000000;
JSON
{
  "hex": "#986fbb",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 187
  },
  "hsl": {
    "h": 272.368,
    "s": 35.849,
    "l": 58.431
  },
  "oklch": {
    "l": 0.61278,
    "c": 0.11962,
    "h": 308
  },
  "luminance": 0.21632
}

Semantic roles & 50–950 ramp

primary
#986FBB
secondary
#C2D2B4
accent
#CC5C8F
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110E14
muted
#807E82

Preview Lab

Preview with #986FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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