#986BCA#986BCA

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

Color values

HEX#986BCA
RGBrgb(152, 107, 202)
HSLhsl(268, 47%, 61%)
HSVhsv(268, 47%, 79%)
CMYKcmyk(24.8%, 47%, 0%, 20.8%)
CIE-LABlab(53.44, 36.76, -42.85)
CIE-LCHlch(53.44, 56.45, 310.62°)
OKLaboklab(61.37% 0.0819 -0.1199)
OKLCHoklch(61.37% 0.145 304.3)
XYZxyz(28.8650, 21.4552, 58.4863)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BCA #9DCA6B
analogous
#6B6DCA #986BCA #C76BCA
triadic
#986BCA #CA986B #6BCA98
tetradic
#986BCA #CA6B6D #9DCA6B #6BCAC7
square
#986BCA #CA6B6D #9DCA6B #6BCAC7
split-complementary
#986BCA #CAC76B #6DCA6B
monochromatic
#5B3189 #7941B6 #986BCA #B798DA #D7C5EA

Accessibility & contrast

On white

3.97
#986BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#986BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BCA
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BCA#FFFFFF#000000##000000
##986BCA1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#517ECD
Deuteranopia (green-blind)
#5C80C8
Tritanopia (blue-blind)
#907B91
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #986bca;
/* rgb */ color: rgb(152, 107, 202);
/* oklch */ color: oklch(61.4% 0.145 304.3);
Tailwind
colors: {
  custom: {
    50: '#b896da',
    500: '#986bca',
    950: '#000000',
  },
}
SCSS
$custom: #986bca;
$custom-light: #b896da;
$custom-dark: #000000;
JSON
{
  "hex": "#986bca",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 202
  },
  "hsl": {
    "h": 268.421,
    "s": 47.264,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61372,
    "c": 0.14524,
    "h": 304.3
  },
  "luminance": 0.21455
}

Semantic roles & 50–950 ramp

primary
#986BCA
secondary
#C9DAB6
accent
#BB2B77
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #986BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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