#986EE3#986EE3

#986EE3 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.3% C 0.172 H 297.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#986EE3
RGBrgb(152, 110, 227)
HSLhsl(262, 68%, 66%)
HSVhsv(262, 52%, 89%)
CMYKcmyk(33%, 51.5%, 0%, 11%)
CIE-LABlab(55.45, 41.24, -53.80)
CIE-LCHlch(55.45, 67.78, 307.47°)
OKLaboklab(63.31% 0.0804 -0.1519)
OKLCHoklch(63.31% 0.172 297.9)
XYZxyz(32.3866, 23.3729, 75.4633)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EE3 #B9E36E
analogous
#6E7EE3 #986EE3 #D26EE3
triadic
#986EE3 #E3986E #6EE398
tetradic
#986EE3 #E36E7E #B9E36E #6EE3D2
square
#986EE3 #E36E7E #B9E36E #6EE3D2
split-complementary
#986EE3 #E3D26E #7EE36E
monochromatic
#5723B4 #743BD9 #986EE3 #BCA1ED #E1D5F7

Accessibility & contrast

On white

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

On black

5.67
#986EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986EE3
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986EE3#FFFFFF#000000##000000
##986EE31.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4285E7
Deuteranopia (green-blind)
#4D84E0
Tritanopia (blue-blind)
#88859E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #986ee3;
/* rgb */ color: rgb(152, 110, 227);
/* oklch */ color: oklch(63.3% 0.172 297.9);
Tailwind
colors: {
  custom: {
    50: '#ba98ec',
    500: '#986ee3',
    950: '#000000',
  },
}
SCSS
$custom: #986ee3;
$custom-light: #ba98ec;
$custom-dark: #000000;
JSON
{
  "hex": "#986ee3",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 227
  },
  "hsl": {
    "h": 261.538,
    "s": 67.63,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63306,
    "c": 0.17187,
    "h": 297.9
  },
  "luminance": 0.23373
}

Semantic roles & 50–950 ramp

primary
#986EE3
secondary
#DCEAC3
accent
#D0168D
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #986EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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