#986EDF#986EDF

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

Color values

HEX#986EDF
RGBrgb(152, 110, 223)
HSLhsl(262, 64%, 65%)
HSVhsv(262, 51%, 87%)
CMYKcmyk(31.8%, 50.7%, 0%, 12.5%)
CIE-LABlab(55.23, 40.23, -51.90)
CIE-LCHlch(55.23, 65.67, 307.78°)
OKLaboklab(63.07% 0.0801 -0.1464)
OKLCHoklch(63.07% 0.167 298.7)
XYZxyz(31.8409, 23.1547, 72.5895)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986EDF #B5DF6E
analogous
#6E7CDF #986EDF #D16EDF
triadic
#986EDF #DF986E #6EDF98
tetradic
#986EDF #DF6E7C #B5DF6E #6EDFD1
square
#986EDF #DF6E7C #B5DF6E #6EDFD1
split-complementary
#986EDF #DFD16E #7CDF6E
monochromatic
#5826AD #743CD4 #986EDF #BCA0EA #DFD2F5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##986EDF#FFFFFF#000000##000000
##986EDF1.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)
#4684E3
Deuteranopia (green-blind)
#5183DC
Tritanopia (blue-blind)
#89849C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #986edf;
/* rgb */ color: rgb(152, 110, 223);
/* oklch */ color: oklch(63.1% 0.167 298.7);
Tailwind
colors: {
  custom: {
    50: '#b998e9',
    500: '#986edf',
    950: '#000000',
  },
}
SCSS
$custom: #986edf;
$custom-light: #b998e9;
$custom-dark: #000000;
JSON
{
  "hex": "#986edf",
  "rgb": {
    "r": 152,
    "g": 110,
    "b": 223
  },
  "hsl": {
    "h": 262.301,
    "s": 63.842,
    "l": 65.294
  },
  "oklch": {
    "l": 0.63068,
    "c": 0.16686,
    "h": 298.7
  },
  "luminance": 0.23155
}

Semantic roles & 50–950 ramp

primary
#986EDF
secondary
#D9E7C1
accent
#CC1A8A
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#120E16
muted
#817E84

Preview Lab

Preview with #986EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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