#9D96EA#9D96EA

#9D96EA is a light, vivid blue. Relative luminance 0.349; OKLCH L 71.3% C 0.121 H 286.7°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#9D96EA
RGBrgb(157, 150, 234)
HSLhsl(245, 67%, 75%)
HSVhsv(245, 36%, 92%)
CMYKcmyk(32.9%, 35.9%, 0%, 8.2%)
CIE-LABlab(65.69, 21.53, -41.48)
CIE-LCHlch(65.69, 46.73, 297.43°)
OKLaboklab(71.25% 0.0348 -0.1159)
OKLCHoklch(71.25% 0.121 286.7)
XYZxyz(39.6583, 34.9202, 82.4767)
Luminance0.3492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D96EA #E3EA96
analogous
#96B9EA #9D96EA #C796EA
triadic
#9D96EA #EA9D96 #96EA9D
tetradic
#9D96EA #EA96B9 #E3EA96 #96EAC7
square
#9D96EA #EA96B9 #E3EA96 #96EAC7
split-complementary
#9D96EA #EAC796 #B9EA96
monochromatic
#3E30D6 #6D63E0 #9D96EA #CDC9F4 #E7E5FA

Accessibility & contrast

On white

2.63
#9D96EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#9D96EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D96EA
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D96EA#FFFFFF#000000##000000
##9D96EA1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2ED
Deuteranopia (green-blind)
#7B9DE8
Tritanopia (blue-blind)
#8AA6B5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9d96ea;
/* rgb */ color: rgb(157, 150, 234);
/* oklch */ color: oklch(71.3% 0.121 286.7);
Tailwind
colors: {
  custom: {
    50: '#bcb4f1',
    500: '#9d96ea',
    950: '#000000',
  },
}
SCSS
$custom: #9d96ea;
$custom-light: #bcb4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d96ea",
  "rgb": {
    "r": 157,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 245,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7125,
    "c": 0.12102,
    "h": 286.7
  },
  "luminance": 0.34921
}

Semantic roles & 50–950 ramp

primary
#9D96EA
secondary
#EFF1DA
accent
#CF17BF
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #9D96EA

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

Preview Lab → · Contrast checker → · Palette generator →

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