#986FF7#986FF7

#986FF7 is a light, vivid violet. Relative luminance 0.248; OKLCH L 64.7% C 0.195 H 294.2°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#986FF7
RGBrgb(152, 111, 247)
HSLhsl(258, 89%, 70%)
HSVhsv(258, 55%, 97%)
CMYKcmyk(38.5%, 55.1%, 0%, 3.1%)
CIE-LABlab(56.84, 45.84, -62.73)
CIE-LCHlch(56.84, 77.69, 306.16°)
OKLaboklab(64.71% 0.08 -0.1781)
OKLCHoklch(64.71% 0.195 294.2)
XYZxyz(35.4174, 24.7589, 90.8906)
Luminance0.2476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FF7 #CEF76F
analogous
#6F8AF7 #986FF7 #DC6FF7
triadic
#986FF7 #F7986F #6FF798
tetradic
#986FF7 #F76F8A #CEF76F #6FF7DC
square
#986FF7 #F76F8A #CEF76F #6FF7DC
split-complementary
#986FF7 #F7DC6F #8AF76F
monochromatic
#4C0CDF #6F35F4 #986FF7 #C1A9FA #EAE2FD

Accessibility & contrast

On white

3.53
#986FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#986FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FF7
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FF7#FFFFFF#000000##000000
##986FF71.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B8AFC
Deuteranopia (green-blind)
#3886F4
Tritanopia (blue-blind)
#808CA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #986ff7;
/* rgb */ color: rgb(152, 111, 247);
/* oklch */ color: oklch(64.7% 0.195 294.2);
Tailwind
colors: {
  custom: {
    50: '#bb99fb',
    500: '#986ff7',
    950: '#000000',
  },
}
SCSS
$custom: #986ff7;
$custom-light: #bb99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#986ff7",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 258.088,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64707,
    "c": 0.19527,
    "h": 294.2
  },
  "luminance": 0.2476
}

Semantic roles & 50–950 ramp

primary
#986FF7
secondary
#E8F4CE
accent
#E600A0
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #986FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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