#9987F6#9987F6

#9987F6 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.8% C 0.160 H 288.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#9987F6
RGBrgb(153, 135, 246)
HSLhsl(250, 86%, 75%)
HSVhsv(250, 45%, 96%)
CMYKcmyk(37.8%, 45.1%, 0%, 3.5%)
CIE-LABlab(62.30, 32.24, -53.45)
CIE-LCHlch(62.30, 62.42, 301.09°)
OKLaboklab(68.79% 0.0518 -0.1509)
OKLCHoklch(68.79% 0.16 288.9)
XYZxyz(38.4309, 30.7529, 91.0820)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9987F6 #E4F687
analogous
#87ACF6 #9987F6 #D187F6
triadic
#9987F6 #F69987 #87F699
tetradic
#9987F6 #F687AC #E4F687 #87F6D1
square
#9987F6 #F687AC #E4F687 #87F6D1
split-complementary
#9987F6 #F6D187 #ACF687
monochromatic
#3815ED #694EF2 #9987F6 #C9C0FA #E7E3FD

Accessibility & contrast

On white

2.94
#9987F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#9987F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9987F6
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9987F6#FFFFFF#000000##000000
##9987F61.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F99FA
Deuteranopia (green-blind)
#5F94F3
Tritanopia (blue-blind)
#809DB3
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9987f6;
/* rgb */ color: rgb(153, 135, 246);
/* oklch */ color: oklch(68.8% 0.160 288.9);
Tailwind
colors: {
  custom: {
    50: '#bbaafa',
    500: '#9987f6',
    950: '#000000',
  },
}
SCSS
$custom: #9987f6;
$custom-light: #bbaafa;
$custom-dark: #000000;
JSON
{
  "hex": "#9987f6",
  "rgb": {
    "r": 153,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 249.73,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68785,
    "c": 0.1595,
    "h": 288.9
  },
  "luminance": 0.30754
}

Semantic roles & 50–950 ramp

primary
#9987F6
secondary
#F0F5D6
accent
#E303BE
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9987F6

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

Preview Lab → · Contrast checker → · Palette generator →

#9987F6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva