#9897FA#9897FA

#9897FA is a light, vivid blue. Relative luminance 0.357; OKLCH L 71.9% C 0.142 H 282.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#9897FA
RGBrgb(152, 151, 250)
HSLhsl(241, 91%, 79%)
HSVhsv(241, 40%, 98%)
CMYKcmyk(39.2%, 39.6%, 0%, 2%)
CIE-LABlab(66.30, 23.88, -49.31)
CIE-LCHlch(66.30, 54.79, 295.84°)
OKLaboklab(71.87% 0.0312 -0.1388)
OKLCHoklch(71.87% 0.142 282.7)
XYZxyz(41.2659, 35.7092, 95.1422)
Luminance0.3571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9897FA #F9FA97
analogous
#97C7FA #9897FA #C997FA
triadic
#9897FA #FA9897 #97FA98
tetradic
#9897FA #FA97C7 #F9FA97 #97FAC9
square
#9897FA #FA97C7 #F9FA97 #97FAC9
split-complementary
#9897FA #FAC997 #C7FA97
monochromatic
#2422F4 #5E5DF7 #9897FA #D2D1FD #E2E2FE

Accessibility & contrast

On white

2.58
#9897FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#9897FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9897FA
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9897FA#FFFFFF#000000##000000
##9897FA1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FE
Deuteranopia (green-blind)
#719EF8
Tritanopia (blue-blind)
#7BAABD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9897fa;
/* rgb */ color: rgb(152, 151, 250);
/* oklch */ color: oklch(71.9% 0.142 282.7);
Tailwind
colors: {
  custom: {
    50: '#bab5fc',
    500: '#9897fa',
    950: '#000000',
  },
}
SCSS
$custom: #9897fa;
$custom-light: #bab5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9897fa",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 240.606,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.71866,
    "c": 0.14225,
    "h": 282.7
  },
  "luminance": 0.35711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9897FA

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

Preview Lab → · Contrast checker → · Palette generator →

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