#986BEC#986BEC

#986BEC is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.4% C 0.187 H 296.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#986BEC
RGBrgb(152, 107, 236)
HSLhsl(261, 77%, 67%)
HSVhsv(261, 55%, 93%)
CMYKcmyk(35.6%, 54.7%, 0%, 7.5%)
CIE-LABlab(55.33, 45.20, -59.04)
CIE-LCHlch(55.33, 74.36, 307.44°)
OKLaboklab(63.38% 0.0845 -0.1673)
OKLCHoklch(63.38% 0.187 296.8)
XYZxyz(33.3431, 23.2464, 82.0709)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BEC #BFEC6B
analogous
#6B7FEC #986BEC #D86BEC
triadic
#986BEC #EC986B #6BEC98
tetradic
#986BEC #EC6B7F #BFEC6B #6BECD8
square
#986BEC #EC6B7F #BFEC6B #6BECD8
split-complementary
#986BEC #ECD86B #7FEC6B
monochromatic
#5519C4 #7235E5 #986BEC #BEA1F3 #E3D7FA

Accessibility & contrast

On white

3.72
#986BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#986BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BEC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BEC#FFFFFF#000000##000000
##986BEC1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185F0
Deuteranopia (green-blind)
#4083E9
Tritanopia (blue-blind)
#8585A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #986bec;
/* rgb */ color: rgb(152, 107, 236);
/* oklch */ color: oklch(63.4% 0.187 296.8);
Tailwind
colors: {
  custom: {
    50: '#bb97f3',
    500: '#986bec',
    950: '#000000',
  },
}
SCSS
$custom: #986bec;
$custom-light: #bb97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#986bec",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 260.93,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63378,
    "c": 0.18745,
    "h": 296.8
  },
  "luminance": 0.23247
}

Semantic roles & 50–950 ramp

primary
#986BEC
secondary
#E0EEC5
accent
#D90C92
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #986BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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