#986BB7#986BB7

#986BB7 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.4% C 0.122 H 310.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#986BB7
RGBrgb(152, 107, 183)
HSLhsl(276, 35%, 57%)
HSVhsv(276, 42%, 72%)
CMYKcmyk(16.9%, 41.5%, 0%, 28.2%)
CIE-LABlab(52.52, 32.33, -33.40)
CIE-LCHlch(52.52, 46.48, 314.07°)
OKLaboklab(60.38% 0.0788 -0.0926)
OKLCHoklch(60.38% 0.122 310.4)
XYZxyz(26.7523, 20.6101, 47.3594)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BB7 #8AB76B
analogous
#726BB7 #986BB7 #B76BB0
triadic
#986BB7 #B7986B #6BB798
tetradic
#986BB7 #B7726B #8AB76B #6BB0B7
square
#986BB7 #B7726B #8AB76B #6BB0B7
split-complementary
#986BB7 #B0B76B #6BB772
monochromatic
#593771 #7A4B9A #986BB7 #B594CB #D1BDDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##986BB7#FFFFFF#000000##000000
##986BB71.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)
#5B7BBA
Deuteranopia (green-blind)
#667EB5
Tritanopia (blue-blind)
#947688
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #986bb7;
/* rgb */ color: rgb(152, 107, 183);
/* oklch */ color: oklch(60.4% 0.122 310.4);
Tailwind
colors: {
  custom: {
    50: '#b796cd',
    500: '#986bb7',
    950: '#000000',
  },
}
SCSS
$custom: #986bb7;
$custom-light: #b796cd;
$custom-dark: #000000;
JSON
{
  "hex": "#986bb7",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 183
  },
  "hsl": {
    "h": 275.526,
    "s": 34.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60377,
    "c": 0.12157,
    "h": 310.4
  },
  "luminance": 0.2061
}

Semantic roles & 50–950 ramp

primary
#986BB7
secondary
#BCCEAF
accent
#CB5D8A
background
#FBF9FC
surface
#F6F2F9
border
#D0CCD2
text
#110D13
muted
#807E82

Preview Lab

Preview with #986BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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