#986DF2#986DF2

#986DF2 is a light, vivid violet. Relative luminance 0.240; OKLCH L 64.1% C 0.192 H 295.4°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#986DF2
RGBrgb(152, 109, 242)
HSLhsl(259, 84%, 69%)
HSVhsv(259, 55%, 95%)
CMYKcmyk(37.2%, 55%, 0%, 5.1%)
CIE-LABlab(56.11, 45.64, -61.12)
CIE-LCHlch(56.11, 76.28, 306.75°)
OKLaboklab(64.07% 0.0823 -0.1734)
OKLCHoklch(64.07% 0.192 295.4)
XYZxyz(34.4404, 24.0228, 86.8095)
Luminance0.2402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DF2 #C7F26D
analogous
#6D85F2 #986DF2 #DA6DF2
triadic
#986DF2 #F2986D #6DF298
tetradic
#986DF2 #F26D85 #C7F26D #6DF2DA
square
#986DF2 #F26D85 #C7F26D #6DF2DA
split-complementary
#986DF2 #F2DA6D #85F26D
monochromatic
#5113D2 #7035ED #986DF2 #C0A5F7 #E7DDFC

Accessibility & contrast

On white

3.62
#986DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#986DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DF2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DF2#FFFFFF#000000##000000
##986DF21.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E88F6
Deuteranopia (green-blind)
#3C85EF
Tritanopia (blue-blind)
#8289A5
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #986df2;
/* rgb */ color: rgb(152, 109, 242);
/* oklch */ color: oklch(64.1% 0.192 295.4);
Tailwind
colors: {
  custom: {
    50: '#bb98f7',
    500: '#986df2',
    950: '#000000',
  },
}
SCSS
$custom: #986df2;
$custom-light: #bb98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#986df2",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 242
  },
  "hsl": {
    "h": 259.398,
    "s": 83.648,
    "l": 68.824
  },
  "oklch": {
    "l": 0.64072,
    "c": 0.19195,
    "h": 295.4
  },
  "luminance": 0.24023
}

Semantic roles & 50–950 ramp

primary
#986DF2
secondary
#E4F1CA
accent
#E00599
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #986DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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