#9896FA#9896FA

#9896FA is a light, vivid blue. Relative luminance 0.354; OKLCH L 71.7% C 0.144 H 283.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#9896FA
RGBrgb(152, 150, 250)
HSLhsl(241, 91%, 78%)
HSVhsv(241, 40%, 98%)
CMYKcmyk(39.2%, 40%, 0%, 2%)
CIE-LABlab(66.05, 24.45, -49.70)
CIE-LCHlch(66.05, 55.39, 296.19°)
OKLaboklab(71.68% 0.0325 -0.1399)
OKLCHoklch(71.68% 0.144 283.1)
XYZxyz(41.1056, 35.3887, 95.0888)
Luminance0.3539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9896FA #F8FA96
analogous
#96C6FA #9896FA #CA96FA
triadic
#9896FA #FA9896 #96FA98
tetradic
#9896FA #FA96C6 #F8FA96 #96FACA
square
#9896FA #FA96C6 #F8FA96 #96FACA
split-complementary
#9896FA #FACA96 #C6FA96
monochromatic
#2521F4 #5F5CF7 #9896FA #D1D0FD #E2E2FE

Accessibility & contrast

On white

2.60
#9896FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#9896FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9896FA
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9896FA#FFFFFF#000000##000000
##9896FA1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#6F9DF8
Tritanopia (blue-blind)
#7CAABC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #9896fa;
/* rgb */ color: rgb(152, 150, 250);
/* oklch */ color: oklch(71.7% 0.144 283.1);
Tailwind
colors: {
  custom: {
    50: '#bab4fc',
    500: '#9896fa',
    950: '#000000',
  },
}
SCSS
$custom: #9896fa;
$custom-light: #bab4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9896fa",
  "rgb": {
    "r": 152,
    "g": 150,
    "b": 250
  },
  "hsl": {
    "h": 241.2,
    "s": 90.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.71678,
    "c": 0.14364,
    "h": 283.1
  },
  "luminance": 0.3539
}

Semantic roles & 50–950 ramp

primary
#9896FA
secondary
#F5F6D5
accent
#E600E1
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9896FA

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

Preview Lab → · Contrast checker → · Palette generator →

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