#9D96F8#9D96F8

#9D96F8 is a light, vivid blue. Relative luminance 0.358; OKLCH L 72.0% C 0.140 H 285.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#9D96F8
RGBrgb(157, 150, 248)
HSLhsl(244, 88%, 78%)
HSVhsv(244, 40%, 97%)
CMYKcmyk(36.7%, 39.5%, 0%, 2.7%)
CIE-LABlab(66.33, 25.19, -48.14)
CIE-LCHlch(66.33, 54.33, 297.63°)
OKLaboklab(71.96% 0.0377 -0.1352)
OKLCHoklch(71.96% 0.14 285.6)
XYZxyz(41.7496, 35.7568, 93.4908)
Luminance0.3576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D96F8 #F1F896
analogous
#96C0F8 #9D96F8 #CE96F8
triadic
#9D96F8 #F89D96 #96F89D
tetradic
#9D96F8 #F896C0 #F1F896 #96F8CE
square
#9D96F8 #F896C0 #F1F896 #96F8CE
split-complementary
#9D96F8 #F8CE96 #C0F896
monochromatic
#3223F0 #675DF4 #9D96F8 #D3CFFC #E4E2FD

Accessibility & contrast

On white

2.58
#9D96F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#9D96F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D96F8
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D96F8#FFFFFF#000000##000000
##9D96F81.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FC
Deuteranopia (green-blind)
#739EF6
Tritanopia (blue-blind)
#84A9BB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9d96f8;
/* rgb */ color: rgb(157, 150, 248);
/* oklch */ color: oklch(72.0% 0.140 285.6);
Tailwind
colors: {
  custom: {
    50: '#bdb4fb',
    500: '#9d96f8',
    950: '#000000',
  },
}
SCSS
$custom: #9d96f8;
$custom-light: #bdb4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d96f8",
  "rgb": {
    "r": 157,
    "g": 150,
    "b": 248
  },
  "hsl": {
    "h": 244.286,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.71957,
    "c": 0.14039,
    "h": 285.6
  },
  "luminance": 0.35758
}

Semantic roles & 50–950 ramp

primary
#9D96F8
secondary
#F3F5D6
accent
#E401D4
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9D96F8

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

Preview Lab → · Contrast checker → · Palette generator →

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