#9687EC#9687EC

#9687EC is a light, vivid blue. Relative luminance 0.299; OKLCH L 68.0% C 0.146 H 288.7°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#9687EC
RGBrgb(150, 135, 236)
HSLhsl(249, 73%, 73%)
HSVhsv(249, 43%, 93%)
CMYKcmyk(36.4%, 42.8%, 0%, 7.5%)
CIE-LABlab(61.54, 28.80, -49.15)
CIE-LCHlch(61.54, 56.97, 300.37°)
OKLaboklab(67.98% 0.0469 -0.1384)
OKLCHoklch(67.98% 0.146 288.7)
XYZxyz(36.3779, 29.8671, 83.1889)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9687EC #DDEC87
analogous
#87AAEC #9687EC #C987EC
triadic
#9687EC #EC9687 #87EC96
tetradic
#9687EC #EC87AA #DDEC87 #87ECC9
square
#9687EC #EC87AA #DDEC87 #87ECC9
split-complementary
#9687EC #ECC987 #AAEC87
monochromatic
#3D22D7 #6852E4 #9687EC #C4BCF4 #E8E5FB

Accessibility & contrast

On white

3.01
#9687EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#9687EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9687EC
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9687EC#FFFFFF#000000##000000
##9687EC1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#6592EA
Tritanopia (blue-blind)
#809AAE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9687ec;
/* rgb */ color: rgb(150, 135, 236);
/* oklch */ color: oklch(68.0% 0.146 288.7);
Tailwind
colors: {
  custom: {
    50: '#b8aaf2',
    500: '#9687ec',
    950: '#000000',
  },
}
SCSS
$custom: #9687ec;
$custom-light: #b8aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#9687ec",
  "rgb": {
    "r": 150,
    "g": 135,
    "b": 236
  },
  "hsl": {
    "h": 248.911,
    "s": 72.662,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67984,
    "c": 0.14609,
    "h": 288.7
  },
  "luminance": 0.29868
}

Semantic roles & 50–950 ramp

primary
#9687EC
secondary
#EFF2D9
accent
#D511B8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9687EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9687EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva