#986BEB#986BEB

#986BEB is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.3% C 0.186 H 297.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#986BEB
RGBrgb(152, 107, 235)
HSLhsl(261, 76%, 67%)
HSVhsv(261, 54%, 92%)
CMYKcmyk(35.3%, 54.5%, 0%, 7.8%)
CIE-LABlab(55.27, 44.94, -58.58)
CIE-LCHlch(55.27, 73.83, 307.50°)
OKLaboklab(63.32% 0.0845 -0.1659)
OKLCHoklch(63.32% 0.186 297)
XYZxyz(33.1982, 23.1885, 81.3079)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986BEB #BEEB6B
analogous
#6B7EEB #986BEB #D86BEB
triadic
#986BEB #EB986B #6BEB98
tetradic
#986BEB #EB6B7E #BEEB6B #6BEBD8
square
#986BEB #EB6B7E #BEEB6B #6BEBD8
split-complementary
#986BEB #EBD86B #7EEB6B
monochromatic
#551AC1 #7235E4 #986BEB #BEA1F2 #E3D7FA

Accessibility & contrast

On white

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

On black

5.64
#986BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986BEB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986BEB#FFFFFF#000000##000000
##986BEB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#4183E8
Tritanopia (blue-blind)
#8585A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #986beb;
/* rgb */ color: rgb(152, 107, 235);
/* oklch */ color: oklch(63.3% 0.186 297.0);
Tailwind
colors: {
  custom: {
    50: '#ba97f2',
    500: '#986beb',
    950: '#000000',
  },
}
SCSS
$custom: #986beb;
$custom-light: #ba97f2;
$custom-dark: #000000;
JSON
{
  "hex": "#986beb",
  "rgb": {
    "r": 152,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 261.094,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63315,
    "c": 0.18622,
    "h": 297
  },
  "luminance": 0.23189
}

Semantic roles & 50–950 ramp

primary
#986BEB
secondary
#DFEDC5
accent
#D80D91
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #986BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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