#986CB3#986CB3

#986CB3 is a mid, moderate violet. Relative luminance 0.207; OKLCH L 60.4% C 0.115 H 311.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#986CB3
RGBrgb(152, 108, 179)
HSLhsl(277, 32%, 56%)
HSVhsv(277, 40%, 70%)
CMYKcmyk(15.1%, 39.7%, 0%, 29.8%)
CIE-LABlab(52.57, 30.86, -31.01)
CIE-LCHlch(52.57, 43.75, 314.86°)
OKLaboklab(60.36% 0.0765 -0.0857)
OKLCHoklch(60.36% 0.115 311.8)
XYZxyz(26.4467, 20.6556, 45.2328)
Luminance0.2066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CB3 #87B36C
analogous
#756CB3 #986CB3 #B36CAB
triadic
#986CB3 #B3986C #6CB398
tetradic
#986CB3 #B3756C #87B36C #6CABB3
square
#986CB3 #B3756C #87B36C #6CABB3
split-complementary
#986CB3 #ABB36C #6CB375
monochromatic
#59386D #7A4D95 #986CB3 #B494C8 #D1BDDD

Accessibility & contrast

On white

4.09
#986CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#986CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CB3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CB3#FFFFFF#000000##000000
##986CB31.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB6
Deuteranopia (green-blind)
#697EB1
Tritanopia (blue-blind)
#957687
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #986cb3;
/* rgb */ color: rgb(152, 108, 179);
/* oklch */ color: oklch(60.4% 0.115 311.8);
Tailwind
colors: {
  custom: {
    50: '#b797ca',
    500: '#986cb3',
    950: '#000000',
  },
}
SCSS
$custom: #986cb3;
$custom-light: #b797ca;
$custom-dark: #000000;
JSON
{
  "hex": "#986cb3",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 179
  },
  "hsl": {
    "h": 277.183,
    "s": 31.839,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60355,
    "c": 0.11488,
    "h": 311.8
  },
  "luminance": 0.20655
}

Semantic roles & 50–950 ramp

primary
#986CB3
secondary
#BACCAF
accent
#C86087
background
#FBF9FC
surface
#F6F2F8
border
#D0CCD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #986CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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