#986CFB#986CFB

#986CFB is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 64.5% C 0.204 H 294.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#986CFB
RGBrgb(152, 108, 251)
HSLhsl(258, 95%, 70%)
HSVhsv(258, 57%, 98%)
CMYKcmyk(39.4%, 57%, 0%, 1.6%)
CIE-LABlab(56.45, 48.53, -65.57)
CIE-LCHlch(56.45, 81.58, 306.51°)
OKLaboklab(64.5% 0.0835 -0.1865)
OKLCHoklch(64.5% 0.204 294.1)
XYZxyz(35.7194, 24.3647, 94.0690)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CFB #CFFB6C
analogous
#6C87FB #986CFB #E06CFB
triadic
#986CFB #FB986C #6CFB98
tetradic
#986CFB #FB6C87 #CFFB6C #6CFBE0
square
#986CFB #FB6C87 #CFFB6C #6CFBE0
split-complementary
#986CFB #FBE06C #87FB6C
monochromatic
#4B06E6 #6E30F9 #986CFB #C2A8FD #EAE1FE

Accessibility & contrast

On white

3.58
#986CFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#986CFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CFB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CFB#FFFFFF#000000##000000
##986CFB1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1689FF
Deuteranopia (green-blind)
#2B85F8
Tritanopia (blue-blind)
#7E8BA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #986cfb;
/* rgb */ color: rgb(152, 108, 251);
/* oklch */ color: oklch(64.5% 0.204 294.1);
Tailwind
colors: {
  custom: {
    50: '#bc97fd',
    500: '#986cfb',
    950: '#000000',
  },
}
SCSS
$custom: #986cfb;
$custom-light: #bc97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#986cfb",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 251
  },
  "hsl": {
    "h": 258.462,
    "s": 94.702,
    "l": 70.392
  },
  "oklch": {
    "l": 0.645,
    "c": 0.20432,
    "h": 294.1
  },
  "luminance": 0.24366
}

Semantic roles & 50–950 ramp

primary
#986CFB
secondary
#E9F5CE
accent
#E6009F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#120E18
muted
#817E86

Preview Lab

Preview with #986CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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