#986BB1#986BB1

#986BB1 is a mid, moderate violet. Relative luminance 0.204; OKLCH L 60.1% C 0.114 H 312.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#986BB1
RGBrgb(152, 107, 177)
HSLhsl(279, 31%, 56%)
HSVhsv(279, 40%, 69%)
CMYKcmyk(14.1%, 39.5%, 0%, 30.6%)
CIE-LABlab(52.25, 30.99, -30.35)
CIE-LCHlch(52.25, 43.38, 315.59°)
OKLaboklab(60.08% 0.0776 -0.0838)
OKLCHoklch(60.08% 0.114 312.8)
XYZxyz(26.1411, 20.3656, 44.1403)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BB1 #84B16B
analogous
#756BB1 #986BB1 #B16BA7
triadic
#986BB1 #B1986B #6BB198
tetradic
#986BB1 #B1756B #84B16B #6BA7B1
square
#986BB1 #B1756B #84B16B #6BA7B1
split-complementary
#986BB1 #A7B16B #6BB175
monochromatic
#58386A #794D92 #986BB1 #B493C6 #D0BBDB

Accessibility & contrast

On white

4.14
#986BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#986BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BB1
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BB1#FFFFFF#000000##000000
##986BB11.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7AB4
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#967586
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #986bb1;
/* rgb */ color: rgb(152, 107, 177);
/* oklch */ color: oklch(60.1% 0.114 312.8);
Tailwind
colors: {
  custom: {
    50: '#b796c8',
    500: '#986bb1',
    950: '#000000',
  },
}
SCSS
$custom: #986bb1;
$custom-light: #b796c8;
$custom-dark: #000000;
JSON
{
  "hex": "#986bb1",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 177
  },
  "hsl": {
    "h": 278.571,
    "s": 30.973,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60083,
    "c": 0.11421,
    "h": 312.8
  },
  "luminance": 0.20365
}

Semantic roles & 50–950 ramp

primary
#986BB1
secondary
#B8CAAD
accent
#C76185
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #986BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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