#9D96FD#9D96FD

#9D96FD is a light, vivid blue. Relative luminance 0.361; OKLCH L 72.2% C 0.147 H 285.2°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#9D96FD
RGBrgb(157, 150, 253)
HSLhsl(244, 96%, 79%)
HSVhsv(244, 41%, 99%)
CMYKcmyk(37.9%, 40.7%, 0%, 0.8%)
CIE-LABlab(66.57, 26.53, -50.49)
CIE-LCHlch(66.57, 57.03, 297.72°)
OKLaboklab(72.22% 0.0386 -0.1421)
OKLCHoklch(72.22% 0.147 285.2)
XYZxyz(42.5356, 36.0712, 97.6307)
Luminance0.3607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D96FD #F6FD96
analogous
#96C3FD #9D96FD #D196FD
triadic
#9D96FD #FD9D96 #96FD9D
tetradic
#9D96FD #FD96C3 #F6FD96 #96FDD1
square
#9D96FD #FD96C3 #F6FD96 #96FDD1
split-complementary
#9D96FD #FDD196 #C3FD96
monochromatic
#2D1EFB #655AFC #9D96FD #D5D2FE #E3E1FE

Accessibility & contrast

On white

2.56
#9D96FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#9D96FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D96FD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D96FD#FFFFFF#000000##000000
##9D96FD1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A5FF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#82AABD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9d96fd;
/* rgb */ color: rgb(157, 150, 253);
/* oklch */ color: oklch(72.2% 0.147 285.2);
Tailwind
colors: {
  custom: {
    50: '#bdb4fe',
    500: '#9d96fd',
    950: '#000000',
  },
}
SCSS
$custom: #9d96fd;
$custom-light: #bdb4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9d96fd",
  "rgb": {
    "r": 157,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 244.078,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.72219,
    "c": 0.14724,
    "h": 285.2
  },
  "luminance": 0.36073
}

Semantic roles & 50–950 ramp

primary
#9D96FD
secondary
#F4F7D4
accent
#E600D6
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #9D96FD

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

Preview Lab → · Contrast checker → · Palette generator →

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