#9896EA#9896EA

#9896EA is a light, vivid blue. Relative luminance 0.344; OKLCH L 70.9% C 0.121 H 283.9°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#9896EA
RGBrgb(152, 150, 234)
HSLhsl(241, 67%, 75%)
HSVhsv(241, 36%, 92%)
CMYKcmyk(35%, 35.9%, 0%, 8.2%)
CIE-LABlab(65.30, 20.17, -42.11)
CIE-LCHlch(65.30, 46.69, 295.59°)
OKLaboklab(70.86% 0.0293 -0.1178)
OKLCHoklch(70.86% 0.121 283.9)
XYZxyz(38.7024, 34.4274, 82.4319)
Luminance0.3443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9896EA #E8EA96
analogous
#96BEEA #9896EA #C296EA
triadic
#9896EA #EA9896 #96EA98
tetradic
#9896EA #EA96BE #E8EA96 #96EAC2
square
#9896EA #EA96BE #E8EA96 #96EAC2
split-complementary
#9896EA #EAC296 #BEEA96
monochromatic
#3430D6 #6663E0 #9896EA #CAC9F4 #E6E5FA

Accessibility & contrast

On white

2.66
#9896EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#9896EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9896EA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9896EA#FFFFFF#000000##000000
##9896EA1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA1ED
Deuteranopia (green-blind)
#799CE8
Tritanopia (blue-blind)
#82A6B5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9896ea;
/* rgb */ color: rgb(152, 150, 234);
/* oklch */ color: oklch(70.9% 0.121 283.9);
Tailwind
colors: {
  custom: {
    50: '#b9b4f1',
    500: '#9896ea',
    950: '#000000',
  },
}
SCSS
$custom: #9896ea;
$custom-light: #b9b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9896ea",
  "rgb": {
    "r": 152,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 241.429,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70859,
    "c": 0.12142,
    "h": 283.9
  },
  "luminance": 0.34429
}

Semantic roles & 50–950 ramp

primary
#9896EA
secondary
#F1F1DA
accent
#CF17CA
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #9896EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9896EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva