#986CB2#986CB2

#986CB2 is a mid, moderate violet. Relative luminance 0.206; OKLCH L 60.3% C 0.114 H 312.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#986CB2
RGBrgb(152, 108, 178)
HSLhsl(278, 31%, 56%)
HSVhsv(278, 39%, 70%)
CMYKcmyk(14.6%, 39.3%, 0%, 30.2%)
CIE-LABlab(52.53, 30.64, -30.50)
CIE-LCHlch(52.53, 43.23, 315.13°)
OKLaboklab(60.31% 0.0763 -0.0842)
OKLCHoklch(60.31% 0.114 312.2)
XYZxyz(26.3460, 20.6153, 44.7021)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CB2 #86B26C
analogous
#756CB2 #986CB2 #B26CA9
triadic
#986CB2 #B2986C #6CB298
tetradic
#986CB2 #B2756C #86B26C #6CA9B2
square
#986CB2 #B2756C #86B26C #6CA9B2
split-complementary
#986CB2 #A9B26C #6CB275
monochromatic
#58386B #794D94 #986CB2 #B494C7 #D0BCDC

Accessibility & contrast

On white

4.10
#986CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#986CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CB2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CB2#FFFFFF#000000##000000
##986CB21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB5
Deuteranopia (green-blind)
#6A7EB0
Tritanopia (blue-blind)
#967687
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #986cb2;
/* rgb */ color: rgb(152, 108, 178);
/* oklch */ color: oklch(60.3% 0.114 312.2);
Tailwind
colors: {
  custom: {
    50: '#b797c9',
    500: '#986cb2',
    950: '#000000',
  },
}
SCSS
$custom: #986cb2;
$custom-light: #b797c9;
$custom-dark: #000000;
JSON
{
  "hex": "#986cb2",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 178
  },
  "hsl": {
    "h": 277.714,
    "s": 31.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60307,
    "c": 0.11366,
    "h": 312.2
  },
  "luminance": 0.20615
}

Semantic roles & 50–950 ramp

primary
#986CB2
secondary
#B9CBAE
accent
#C76087
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #986CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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