#986CF2#986CF2

#986CF2 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.9% C 0.193 H 295.6°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#986CF2
RGBrgb(152, 108, 242)
HSLhsl(260, 84%, 69%)
HSVhsv(260, 55%, 95%)
CMYKcmyk(37.2%, 55.4%, 0%, 5.1%)
CIE-LABlab(55.90, 46.19, -61.47)
CIE-LCHlch(55.90, 76.89, 306.92°)
OKLaboklab(63.92% 0.0834 -0.1744)
OKLCHoklch(63.92% 0.193 295.6)
XYZxyz(34.3343, 23.8107, 86.7742)
Luminance0.2381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CF2 #C6F26C
analogous
#6C83F2 #986CF2 #DB6CF2
triadic
#986CF2 #F2986C #6CF298
tetradic
#986CF2 #F26C83 #C6F26C #6CF2DB
square
#986CF2 #F26C83 #C6F26C #6CF2DB
split-complementary
#986CF2 #F2DB6C #83F26C
monochromatic
#5112D1 #7134ED #986CF2 #BFA4F7 #E7DCFC

Accessibility & contrast

On white

3.64
#986CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#986CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CF2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CF2#FFFFFF#000000##000000
##986CF21.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B87F6
Deuteranopia (green-blind)
#3A84EF
Tritanopia (blue-blind)
#8288A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #986cf2;
/* rgb */ color: rgb(152, 108, 242);
/* oklch */ color: oklch(63.9% 0.193 295.6);
Tailwind
colors: {
  custom: {
    50: '#bb97f7',
    500: '#986cf2',
    950: '#000000',
  },
}
SCSS
$custom: #986cf2;
$custom-light: #bb97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#986cf2",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 259.701,
    "s": 83.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.63915,
    "c": 0.19336,
    "h": 295.6
  },
  "luminance": 0.23811
}

Semantic roles & 50–950 ramp

primary
#986CF2
secondary
#E4F1C9
accent
#E00598
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #986CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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