#986FCB#986FCB

#986FCB is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.1% C 0.140 H 303.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#986FCB
RGBrgb(152, 111, 203)
HSLhsl(267, 47%, 62%)
HSVhsv(267, 45%, 80%)
CMYKcmyk(25.1%, 45.3%, 0%, 20.4%)
CIE-LABlab(54.40, 34.73, -41.90)
CIE-LCHlch(54.40, 54.42, 309.65°)
OKLaboklab(62.11% 0.0765 -0.1172)
OKLCHoklch(62.11% 0.14 303.1)
XYZxyz(29.4105, 22.3561, 59.2541)
Luminance0.2236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#986FCB #A2CB6F
analogous
#6F74CB #986FCB #C66FCB
triadic
#986FCB #CB986F #6FCB98
tetradic
#986FCB #CB6F74 #A2CB6F #6FCBC6
square
#986FCB #CB6F74 #A2CB6F #6FCBC6
split-complementary
#986FCB #CBC66F #74CB6F
monochromatic
#5B338D #7843BA #986FCB #B89CDB #D8C9EB

Accessibility & contrast

On white

3.84
#986FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#986FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #986FCB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##986FCB#FFFFFF#000000##000000
##986FCB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5681CE
Deuteranopia (green-blind)
#6082C9
Tritanopia (blue-blind)
#8F7F93
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #986fcb;
/* rgb */ color: rgb(152, 111, 203);
/* oklch */ color: oklch(62.1% 0.140 303.1);
Tailwind
colors: {
  custom: {
    50: '#b899db',
    500: '#986fcb',
    950: '#000000',
  },
}
SCSS
$custom: #986fcb;
$custom-light: #b899db;
$custom-dark: #000000;
JSON
{
  "hex": "#986fcb",
  "rgb": {
    "r": 152,
    "g": 111,
    "b": 203
  },
  "hsl": {
    "h": 266.739,
    "s": 46.939,
    "l": 61.569
  },
  "oklch": {
    "l": 0.62107,
    "c": 0.13995,
    "h": 303.1
  },
  "luminance": 0.22356
}

Semantic roles & 50–950 ramp

primary
#986FCB
secondary
#CDDCBA
accent
#BA2B7B
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83

Preview Lab

Preview with #986FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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