#9E96EB#9E96EB

#9E96EB is a light, vivid blue. Relative luminance 0.351; OKLCH L 71.4% C 0.122 H 287.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#9E96EB
RGBrgb(158, 150, 235)
HSLhsl(246, 68%, 75%)
HSVhsv(246, 36%, 92%)
CMYKcmyk(32.8%, 36.2%, 0%, 7.8%)
CIE-LABlab(65.81, 22.06, -41.83)
CIE-LCHlch(65.81, 47.29, 297.81°)
OKLaboklab(71.38% 0.0361 -0.1169)
OKLCHoklch(71.38% 0.122 287.2)
XYZxyz(39.9983, 35.0789, 83.2447)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E96EB #E3EB96
analogous
#96B8EB #9E96EB #C896EB
triadic
#9E96EB #EB9E96 #96EB9E
tetradic
#9E96EB #EB96B8 #E3EB96 #96EBC8
square
#9E96EB #EB96B8 #E3EB96 #96EBC8
split-complementary
#9E96EB #EBC896 #B8EB96
monochromatic
#3F2FD7 #6F63E1 #9E96EB #CDC9F5 #E7E5FA

Accessibility & contrast

On white

2.62
#9E96EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#9E96EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9E96EB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E96EB#FFFFFF#000000##000000
##9E96EB1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EE
Deuteranopia (green-blind)
#7B9EE9
Tritanopia (blue-blind)
#8BA6B6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9e96eb;
/* rgb */ color: rgb(158, 150, 235);
/* oklch */ color: oklch(71.4% 0.122 287.2);
Tailwind
colors: {
  custom: {
    50: '#bdb4f2',
    500: '#9e96eb',
    950: '#000000',
  },
}
SCSS
$custom: #9e96eb;
$custom-light: #bdb4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e96eb",
  "rgb": {
    "r": 158,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 245.647,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71379,
    "c": 0.12237,
    "h": 287.2
  },
  "luminance": 0.3508
}

Semantic roles & 50–950 ramp

primary
#9E96EB
secondary
#EFF2D9
accent
#D016BE
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #9E96EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9E96EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva