#986CEB#986CEB

#986CEB is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.5% C 0.185 H 296.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#986CEB
RGBrgb(152, 108, 235)
HSLhsl(261, 76%, 67%)
HSVhsv(261, 54%, 92%)
CMYKcmyk(35.3%, 54%, 0%, 7.8%)
CIE-LABlab(55.48, 44.39, -58.23)
CIE-LCHlch(55.48, 73.22, 307.32°)
OKLaboklab(63.47% 0.0833 -0.1649)
OKLCHoklch(63.47% 0.185 296.8)
XYZxyz(33.3031, 23.3982, 81.3429)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986CEB #BFEB6C
analogous
#6C80EB #986CEB #D76CEB
triadic
#986CEB #EB986C #6CEB98
tetradic
#986CEB #EB6C80 #BFEB6C #6CEBD7
square
#986CEB #EB6C80 #BFEB6C #6CEBD7
split-complementary
#986CEB #EBD76C #80EB6C
monochromatic
#551AC2 #7236E4 #986CEB #BEA2F2 #E3D8FA

Accessibility & contrast

On white

3.70
#986CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#986CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986CEB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986CEB#FFFFFF#000000##000000
##986CEB1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3585EF
Deuteranopia (green-blind)
#4283E8
Tritanopia (blue-blind)
#8586A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #986ceb;
/* rgb */ color: rgb(152, 108, 235);
/* oklch */ color: oklch(63.5% 0.185 296.8);
Tailwind
colors: {
  custom: {
    50: '#ba97f2',
    500: '#986ceb',
    950: '#000000',
  },
}
SCSS
$custom: #986ceb;
$custom-light: #ba97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#986ceb",
  "rgb": {
    "r": 152,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 260.787,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63473,
    "c": 0.18477,
    "h": 296.8
  },
  "luminance": 0.23399
}

Semantic roles & 50–950 ramp

primary
#986CEB
secondary
#E0EDC5
accent
#D80D92
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #986CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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