#986BE7#986BE7

#986BE7 is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.1% C 0.181 H 297.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#986BE7
RGBrgb(152, 107, 231)
HSLhsl(262, 72%, 66%)
HSVhsv(262, 54%, 91%)
CMYKcmyk(34.2%, 53.7%, 0%, 9.4%)
CIE-LABlab(55.03, 43.92, -56.71)
CIE-LCHlch(55.03, 71.73, 307.76°)
OKLaboklab(63.07% 0.0844 -0.1605)
OKLCHoklch(63.07% 0.181 297.7)
XYZxyz(32.6268, 22.9599, 78.2986)
Luminance0.2296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BE7 #BAE76B
analogous
#6B7CE7 #986BE7 #D66BE7
triadic
#986BE7 #E7986B #6BE798
tetradic
#986BE7 #E76B7C #BAE76B #6BE7D6
square
#986BE7 #E76B7C #BAE76B #6BE7D6
split-complementary
#986BE7 #E7D66B #7CE76B
monochromatic
#561EBA #7336DE #986BE7 #BDA0F0 #E1D4F8

Accessibility & contrast

On white

3.76
#986BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#986BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BE7
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BE7#FFFFFF#000000##000000
##986BE71.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3784EB
Deuteranopia (green-blind)
#4582E4
Tritanopia (blue-blind)
#86849F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #986be7;
/* rgb */ color: rgb(152, 107, 231);
/* oklch */ color: oklch(63.1% 0.181 297.7);
Tailwind
colors: {
  custom: {
    50: '#ba97ef',
    500: '#986be7',
    950: '#000000',
  },
}
SCSS
$custom: #986be7;
$custom-light: #ba97ef;
$custom-dark: #000000;
JSON
{
  "hex": "#986be7",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 231
  },
  "hsl": {
    "h": 261.774,
    "s": 72.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63066,
    "c": 0.18131,
    "h": 297.7
  },
  "luminance": 0.2296
}

Semantic roles & 50–950 ramp

primary
#986BE7
secondary
#DCEBC3
accent
#D4118D
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #986BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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