#986BF7#986BF7

#986BF7 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.1% C 0.201 H 294.9°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#986BF7
RGBrgb(152, 107, 247)
HSLhsl(259, 90%, 69%)
HSVhsv(259, 57%, 97%)
CMYKcmyk(38.5%, 56.7%, 0%, 3.1%)
CIE-LABlab(55.99, 48.04, -64.09)
CIE-LCHlch(55.99, 80.09, 306.85°)
OKLaboklab(64.08% 0.0846 -0.1821)
OKLCHoklch(64.08% 0.201 294.9)
XYZxyz(34.9907, 23.9055, 90.7483)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BF7 #CAF76B
analogous
#6B84F7 #986BF7 #DE6BF7
triadic
#986BF7 #F7986B #6BF798
tetradic
#986BF7 #F76B84 #CAF76B #6BF7DE
square
#986BF7 #F76B84 #CAF76B #6BF7DE
split-complementary
#986BF7 #F7DE6B #84F76B
monochromatic
#4F0CDC #7031F4 #986BF7 #C0A5FA #E9DFFD

Accessibility & contrast

On white

3.63
#986BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#986BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BF7
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BF7#FFFFFF#000000##000000
##986BF71.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D87FC
Deuteranopia (green-blind)
#3084F4
Tritanopia (blue-blind)
#8089A7
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #986bf7;
/* rgb */ color: rgb(152, 107, 247);
/* oklch */ color: oklch(64.1% 0.201 294.9);
Tailwind
colors: {
  custom: {
    50: '#bb97fb',
    500: '#986bf7',
    950: '#000000',
  },
}
SCSS
$custom: #986bf7;
$custom-light: #bb97fb;
$custom-dark: #000000;
JSON
{
  "hex": "#986bf7",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 247
  },
  "hsl": {
    "h": 259.286,
    "s": 89.744,
    "l": 69.412
  },
  "oklch": {
    "l": 0.64084,
    "c": 0.20085,
    "h": 294.9
  },
  "luminance": 0.23906
}

Semantic roles & 50–950 ramp

primary
#986BF7
secondary
#E6F3CB
accent
#E6009C
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #986BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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