#986BB2#986BB2

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

Color values

HEX#986BB2
RGBrgb(152, 107, 178)
HSLhsl(278, 32%, 56%)
HSVhsv(278, 40%, 70%)
CMYKcmyk(14.6%, 39.9%, 0%, 30.2%)
CIE-LABlab(52.29, 31.21, -30.86)
CIE-LCHlch(52.29, 43.89, 315.32°)
OKLaboklab(60.13% 0.0778 -0.0853)
OKLCHoklch(60.13% 0.115 312.4)
XYZxyz(26.2411, 20.4056, 44.6672)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BB2 #85B26B
analogous
#746BB2 #986BB2 #B26BA8
triadic
#986BB2 #B2986B #6BB298
tetradic
#986BB2 #B2746B #85B26B #6BA8B2
square
#986BB2 #B2746B #85B26B #6BA8B2
split-complementary
#986BB2 #A8B26B #6BB274
monochromatic
#58386B #794D93 #986BB2 #B493C7 #D0BCDC

Accessibility & contrast

On white

4.13
#986BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#986BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BB2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BB2#FFFFFF#000000##000000
##986BB21.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #986bb2;
/* rgb */ color: rgb(152, 107, 178);
/* oklch */ color: oklch(60.1% 0.115 312.4);
Tailwind
colors: {
  custom: {
    50: '#b796c9',
    500: '#986bb2',
    950: '#000000',
  },
}
SCSS
$custom: #986bb2;
$custom-light: #b796c9;
$custom-dark: #000000;
JSON
{
  "hex": "#986bb2",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 178
  },
  "hsl": {
    "h": 278.028,
    "s": 31.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60131,
    "c": 0.11544,
    "h": 312.4
  },
  "luminance": 0.20405
}

Semantic roles & 50–950 ramp

primary
#986BB2
secondary
#B8CBAE
accent
#C86086
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #986BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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