#986BF2#986BF2

#986BF2 is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.8% C 0.195 H 295.8°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#986BF2
RGBrgb(152, 107, 242)
HSLhsl(260, 84%, 68%)
HSVhsv(260, 56%, 95%)
CMYKcmyk(37.2%, 55.8%, 0%, 5.1%)
CIE-LABlab(55.69, 46.74, -61.81)
CIE-LCHlch(55.69, 77.49, 307.10°)
OKLaboklab(63.76% 0.0846 -0.1754)
OKLCHoklch(63.76% 0.195 295.8)
XYZxyz(34.2295, 23.6010, 86.7392)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BF2 #C5F26B
analogous
#6B81F2 #986BF2 #DB6BF2
triadic
#986BF2 #F2986B #6BF298
tetradic
#986BF2 #F26B81 #C5F26B #6BF2DB
square
#986BF2 #F26B81 #C5F26B #6BF2DB
split-complementary
#986BF2 #F2DB6B #81F26B
monochromatic
#5212D0 #7133ED #986BF2 #BFA3F7 #E6DCFC

Accessibility & contrast

On white

3.67
#986BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#986BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BF2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BF2#FFFFFF#000000##000000
##986BF21.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2786F6
Deuteranopia (green-blind)
#3884EF
Tritanopia (blue-blind)
#8287A4
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #986bf2;
/* rgb */ color: rgb(152, 107, 242);
/* oklch */ color: oklch(63.8% 0.195 295.8);
Tailwind
colors: {
  custom: {
    50: '#bb97f7',
    500: '#986bf2',
    950: '#000000',
  },
}
SCSS
$custom: #986bf2;
$custom-light: #bb97f7;
$custom-dark: #000000;
JSON
{
  "hex": "#986bf2",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 242
  },
  "hsl": {
    "h": 260,
    "s": 83.851,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6376,
    "c": 0.19477,
    "h": 295.8
  },
  "luminance": 0.23602
}

Semantic roles & 50–950 ramp

primary
#986BF2
secondary
#E3F1C8
accent
#E00597
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #986BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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