#986DE3#986DE3

#986DE3 is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.1% C 0.173 H 298.1°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#986DE3
RGBrgb(152, 109, 227)
HSLhsl(262, 68%, 66%)
HSVhsv(262, 52%, 89%)
CMYKcmyk(33%, 52%, 0%, 11%)
CIE-LABlab(55.24, 41.80, -54.15)
CIE-LCHlch(55.24, 68.40, 307.67°)
OKLaboklab(63.14% 0.0816 -0.1529)
OKLCHoklch(63.14% 0.173 298.1)
XYZxyz(32.2793, 23.1584, 75.4275)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DE3 #B8E36D
analogous
#6D7DE3 #986DE3 #D36DE3
triadic
#986DE3 #E3986D #6DE398
tetradic
#986DE3 #E36D7D #B8E36D #6DE3D3
square
#986DE3 #E36D7D #B8E36D #6DE3D3
split-complementary
#986DE3 #E3D36D #7DE36D
monochromatic
#5722B3 #743AD9 #986DE3 #BCA0ED #E0D4F7

Accessibility & contrast

On white

3.73
#986DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#986DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DE3
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DE3#FFFFFF#000000##000000
##986DE31.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4084E7
Deuteranopia (green-blind)
#4C83E0
Tritanopia (blue-blind)
#88849E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #986de3;
/* rgb */ color: rgb(152, 109, 227);
/* oklch */ color: oklch(63.1% 0.173 298.1);
Tailwind
colors: {
  custom: {
    50: '#ba98ec',
    500: '#986de3',
    950: '#000000',
  },
}
SCSS
$custom: #986de3;
$custom-light: #ba98ec;
$custom-dark: #000000;
JSON
{
  "hex": "#986de3",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 227
  },
  "hsl": {
    "h": 261.864,
    "s": 67.816,
    "l": 65.882
  },
  "oklch": {
    "l": 0.63143,
    "c": 0.17337,
    "h": 298.1
  },
  "luminance": 0.23159
}

Semantic roles & 50–950 ramp

primary
#986DE3
secondary
#DBE9C2
accent
#D0168C
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #986DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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