#986BEF#986BEF

#986BEF is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.6% C 0.191 H 296.3°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#986BEF
RGBrgb(152, 107, 239)
HSLhsl(260, 80%, 68%)
HSVhsv(260, 55%, 94%)
CMYKcmyk(36.4%, 55.2%, 0%, 6.3%)
CIE-LABlab(55.50, 45.97, -60.43)
CIE-LCHlch(55.50, 75.92, 307.26°)
OKLaboklab(63.57% 0.0846 -0.1714)
OKLCHoklch(63.57% 0.191 296.3)
XYZxyz(33.7826, 23.4222, 84.3857)
Luminance0.2342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BEF #C2EF6B
analogous
#6B80EF #986BEF #DA6BEF
triadic
#986BEF #EF986B #6BEF98
tetradic
#986BEF #EF6B80 #C2EF6B #6BEFDA
square
#986BEF #EF6B80 #C2EF6B #6BEFDA
split-complementary
#986BEF #EFDA6B #80EF6B
monochromatic
#5316CA #7234E9 #986BEF #BEA2F5 #E5D9FB

Accessibility & contrast

On white

3.69
#986BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#986BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BEF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BEF#FFFFFF#000000##000000
##986BEF1.003.695.685.68
#FFFFFF3.691.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D86F3
Deuteranopia (green-blind)
#3C83EC
Tritanopia (blue-blind)
#8386A3
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #986bef;
/* rgb */ color: rgb(152, 107, 239);
/* oklch */ color: oklch(63.6% 0.191 296.3);
Tailwind
colors: {
  custom: {
    50: '#bb97f5',
    500: '#986bef',
    950: '#000000',
  },
}
SCSS
$custom: #986bef;
$custom-light: #bb97f5;
$custom-dark: #000000;
JSON
{
  "hex": "#986bef",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 239
  },
  "hsl": {
    "h": 260.455,
    "s": 80.488,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63568,
    "c": 0.19111,
    "h": 296.3
  },
  "luminance": 0.23423
}

Semantic roles & 50–950 ramp

primary
#986BEF
secondary
#E1EFC7
accent
#DD0994
background
#FBF9FF
surface
#F7F2FE
border
#D0CCD6
text
#120D17
muted
#817E85

Preview Lab

Preview with #986BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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