#986BF5#986BF5

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

Color values

HEX#986BF5
RGBrgb(152, 107, 245)
HSLhsl(260, 87%, 69%)
HSVhsv(260, 56%, 96%)
CMYKcmyk(38%, 56.3%, 0%, 3.9%)
CIE-LABlab(55.87, 47.52, -63.18)
CIE-LCHlch(55.87, 79.05, 306.95°)
OKLaboklab(63.95% 0.0846 -0.1795)
OKLCHoklch(63.95% 0.198 295.3)
XYZxyz(34.6837, 23.7827, 89.1316)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BF5 #C8F56B
analogous
#6B83F5 #986BF5 #DD6BF5
triadic
#986BF5 #F5986B #6BF598
tetradic
#986BF5 #F56B83 #C8F56B #6BF5DD
square
#986BF5 #F56B83 #C8F56B #6BF5DD
split-complementary
#986BF5 #F5DD6B #83F56B
monochromatic
#500FD7 #7032F1 #986BF5 #C0A4F9 #E8DEFD

Accessibility & contrast

On white

3.65
#986BF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##986BF5#FFFFFF#000000##000000
##986BF51.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2187FA
Deuteranopia (green-blind)
#3384F2
Tritanopia (blue-blind)
#8188A6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #986bf5;
/* rgb */ color: rgb(152, 107, 245);
/* oklch */ color: oklch(64.0% 0.198 295.3);
Tailwind
colors: {
  custom: {
    50: '#bb97f9',
    500: '#986bf5',
    950: '#000000',
  },
}
SCSS
$custom: #986bf5;
$custom-light: #bb97f9;
$custom-dark: #000000;
JSON
{
  "hex": "#986bf5",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 245
  },
  "hsl": {
    "h": 259.565,
    "s": 87.342,
    "l": 69.02
  },
  "oklch": {
    "l": 0.63953,
    "c": 0.19842,
    "h": 295.3
  },
  "luminance": 0.23783
}

Semantic roles & 50–950 ramp

primary
#986BF5
secondary
#E5F2CA
accent
#E4029A
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #986BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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