#986BCB#986BCB

#986BCB is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.4% C 0.146 H 304.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#986BCB
RGBrgb(152, 107, 203)
HSLhsl(268, 48%, 61%)
HSVhsv(268, 47%, 80%)
CMYKcmyk(25.1%, 47.3%, 0%, 20.4%)
CIE-LABlab(53.50, 37.00, -43.34)
CIE-LCHlch(53.50, 56.98, 310.49°)
OKLaboklab(61.43% 0.082 -0.1214)
OKLCHoklch(61.43% 0.146 304.1)
XYZxyz(28.9838, 21.5027, 59.1118)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BCB #9ECB6B
analogous
#6B6ECB #986BCB #C86BCB
triadic
#986BCB #CB986B #6BCB98
tetradic
#986BCB #CB6B6E #9ECB6B #6BCBC8
square
#986BCB #CB6B6E #9ECB6B #6BCBC8
split-complementary
#986BCB #CBC86B #6ECB6B
monochromatic
#5B318B #7941B8 #986BCB #B898DB #D7C6EB

Accessibility & contrast

On white

3.96
#986BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#986BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BCB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BCB#FFFFFF#000000##000000
##986BCB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FCE
Deuteranopia (green-blind)
#5B80C9
Tritanopia (blue-blind)
#8F7C91
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #986bcb;
/* rgb */ color: rgb(152, 107, 203);
/* oklch */ color: oklch(61.4% 0.146 304.1);
Tailwind
colors: {
  custom: {
    50: '#b896db',
    500: '#986bcb',
    950: '#000000',
  },
}
SCSS
$custom: #986bcb;
$custom-light: #b896db;
$custom-dark: #000000;
JSON
{
  "hex": "#986bcb",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 203
  },
  "hsl": {
    "h": 268.125,
    "s": 48,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61427,
    "c": 0.14649,
    "h": 304.1
  },
  "luminance": 0.21503
}

Semantic roles & 50–950 ramp

primary
#986BCB
secondary
#CADBB7
accent
#BB2A77
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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