#986DEB#986DEB

#986DEB is a light, vivid violet. Relative luminance 0.236; OKLCH L 63.6% C 0.183 H 296.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#986DEB
RGBrgb(152, 109, 235)
HSLhsl(260, 76%, 67%)
HSVhsv(260, 54%, 92%)
CMYKcmyk(35.3%, 53.6%, 0%, 7.8%)
CIE-LABlab(55.70, 43.84, -57.89)
CIE-LCHlch(55.70, 72.61, 307.13°)
OKLaboklab(63.63% 0.082 -0.1639)
OKLCHoklch(63.63% 0.183 296.6)
XYZxyz(33.4091, 23.6103, 81.3782)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DEB #C0EB6D
analogous
#6D81EB #986DEB #D76DEB
triadic
#986DEB #EB986D #6DEB98
tetradic
#986DEB #EB6D81 #C0EB6D #6DEBD7
square
#986DEB #EB6D81 #C0EB6D #6DEBD7
split-complementary
#986DEB #EBD76D #81EB6D
monochromatic
#541BC3 #7237E4 #986DEB #BEA3F2 #E4D9FA

Accessibility & contrast

On white

3.67
#986DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#986DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DEB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DEB#FFFFFF#000000##000000
##986DEB1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3786EF
Deuteranopia (green-blind)
#4484E8
Tritanopia (blue-blind)
#8587A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #986deb;
/* rgb */ color: rgb(152, 109, 235);
/* oklch */ color: oklch(63.6% 0.183 296.6);
Tailwind
colors: {
  custom: {
    50: '#ba98f2',
    500: '#986deb',
    950: '#000000',
  },
}
SCSS
$custom: #986deb;
$custom-light: #ba98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#986deb",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 235
  },
  "hsl": {
    "h": 260.476,
    "s": 75.904,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63632,
    "c": 0.18331,
    "h": 296.6
  },
  "luminance": 0.23611
}

Semantic roles & 50–950 ramp

primary
#986DEB
secondary
#E0EEC6
accent
#D80D93
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #986DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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