#986BFB#986BFB

#986BFB is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.3% C 0.206 H 294.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#986BFB
RGBrgb(152, 107, 251)
HSLhsl(259, 95%, 70%)
HSVhsv(259, 57%, 98%)
CMYKcmyk(39.4%, 57.4%, 0%, 1.6%)
CIE-LABlab(56.24, 49.08, -65.90)
CIE-LCHlch(56.24, 82.17, 306.67°)
OKLaboklab(64.35% 0.0846 -0.1875)
OKLCHoklch(64.35% 0.206 294.3)
XYZxyz(35.6146, 24.1550, 94.0340)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BFB #CEFB6B
analogous
#6B86FB #986BFB #E06BFB
triadic
#986BFB #FB986B #6BFB98
tetradic
#986BFB #FB6B86 #CEFB6B #6BFBE0
square
#986BFB #FB6B86 #CEFB6B #6BFBE0
split-complementary
#986BFB #FBE06B #86FB6B
monochromatic
#4C06E5 #6F2FF9 #986BFB #C1A7FD #EAE1FE

Accessibility & contrast

On white

3.60
#986BFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#986BFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BFB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BFB#FFFFFF#000000##000000
##986BFB1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F88FF
Deuteranopia (green-blind)
#2984F8
Tritanopia (blue-blind)
#7F8AA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986bfb;
/* rgb */ color: rgb(152, 107, 251);
/* oklch */ color: oklch(64.3% 0.206 294.3);
Tailwind
colors: {
  custom: {
    50: '#bc97fd',
    500: '#986bfb',
    950: '#000000',
  },
}
SCSS
$custom: #986bfb;
$custom-light: #bc97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#986bfb",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 251
  },
  "hsl": {
    "h": 258.75,
    "s": 94.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64347,
    "c": 0.20569,
    "h": 294.3
  },
  "luminance": 0.24156
}

Semantic roles & 50–950 ramp

primary
#986BFB
secondary
#E8F5CD
accent
#E6009E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D18
muted
#817E86

Preview Lab

Preview with #986BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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