#986AEA#986AEA

#986AEA is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.1% C 0.186 H 297.4°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#986AEA
RGBrgb(152, 106, 234)
HSLhsl(262, 75%, 67%)
HSVhsv(262, 55%, 92%)
CMYKcmyk(35%, 54.7%, 0%, 8.2%)
CIE-LABlab(54.99, 45.24, -58.45)
CIE-LCHlch(54.99, 73.92, 307.74°)
OKLaboklab(63.1% 0.0857 -0.1656)
OKLCHoklch(63.1% 0.186 297.4)
XYZxyz(32.9505, 22.9235, 80.5146)
Luminance0.2292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986AEA #BCEA6A
analogous
#6A7CEA #986AEA #D86AEA
triadic
#986AEA #EA986A #6AEA98
tetradic
#986AEA #EA6A7C #BCEA6A #6AEAD8
square
#986AEA #EA6A7C #BCEA6A #6AEAD8
split-complementary
#986AEA #EAD86A #7CEA6A
monochromatic
#561BBF #7334E2 #986AEA #BDA0F2 #E2D5F9

Accessibility & contrast

On white

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

On black

5.58
#986AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986AEA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986AEA#FFFFFF#000000##000000
##986AEA1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#4082E7
Tritanopia (blue-blind)
#8584A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #986aea;
/* rgb */ color: rgb(152, 106, 234);
/* oklch */ color: oklch(63.1% 0.186 297.4);
Tailwind
colors: {
  custom: {
    50: '#ba96f1',
    500: '#986aea',
    950: '#000000',
  },
}
SCSS
$custom: #986aea;
$custom-light: #ba96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#986aea",
  "rgb": {
    "r": 152,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 261.563,
    "s": 75.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63095,
    "c": 0.18644,
    "h": 297.4
  },
  "luminance": 0.22924
}

Semantic roles & 50–950 ramp

primary
#986AEA
secondary
#DEEDC3
accent
#D70E8F
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #986AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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