#986DE8#986DE8

#986DE8 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.4% C 0.180 H 297.1°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#986DE8
RGBrgb(152, 109, 232)
HSLhsl(261, 73%, 67%)
HSVhsv(261, 53%, 91%)
CMYKcmyk(34.5%, 53%, 0%, 9%)
CIE-LABlab(55.52, 43.07, -56.49)
CIE-LCHlch(55.52, 71.04, 307.32°)
OKLaboklab(63.45% 0.0819 -0.1598)
OKLCHoklch(63.45% 0.18 297.1)
XYZxyz(32.9794, 23.4384, 79.1148)
Luminance0.2344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986DE8 #BDE86D
analogous
#6D80E8 #986DE8 #D66DE8
triadic
#986DE8 #E8986D #6DE898
tetradic
#986DE8 #E86D80 #BDE86D #6DE8D6
square
#986DE8 #E86D80 #BDE86D #6DE8D6
split-complementary
#986DE8 #E8D66D #80E86D
monochromatic
#551EBD #7338E0 #986DE8 #BDA2F0 #E3D7F9

Accessibility & contrast

On white

3.69
#986DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#986DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986DE8
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986DE8#FFFFFF#000000##000000
##986DE81.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EC
Deuteranopia (green-blind)
#4784E5
Tritanopia (blue-blind)
#8686A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #986de8;
/* rgb */ color: rgb(152, 109, 232);
/* oklch */ color: oklch(63.4% 0.180 297.1);
Tailwind
colors: {
  custom: {
    50: '#ba98f0',
    500: '#986de8',
    950: '#000000',
  },
}
SCSS
$custom: #986de8;
$custom-light: #ba98f0;
$custom-dark: #000000;
JSON
{
  "hex": "#986de8",
  "rgb": {
    "r": 152,
    "g": 109,
    "b": 232
  },
  "hsl": {
    "h": 260.976,
    "s": 72.781,
    "l": 66.863
  },
  "oklch": {
    "l": 0.63447,
    "c": 0.1796,
    "h": 297.1
  },
  "luminance": 0.23439
}

Semantic roles & 50–950 ramp

primary
#986DE8
secondary
#DEECC5
accent
#D51190
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120E17
muted
#817E85

Preview Lab

Preview with #986DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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