#9897FF#9897FF

#9897FF is a light, vivid blue. Relative luminance 0.360; OKLCH L 72.1% C 0.149 H 282.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#9897FF
RGBrgb(152, 151, 255)
HSLhsl(241, 100%, 80%)
HSVhsv(241, 41%, 100%)
CMYKcmyk(40.4%, 40.8%, 0%, 0%)
CIE-LABlab(66.54, 25.24, -51.66)
CIE-LCHlch(66.54, 57.49, 296.04°)
OKLaboklab(72.13% 0.0321 -0.1456)
OKLCHoklch(72.13% 0.149 282.4)
XYZxyz(42.0603, 36.0269, 99.3261)
Luminance0.3603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9897FF #FEFF97
analogous
#97CAFF #9897FF #CC97FF
triadic
#9897FF #FF9897 #97FF98
tetradic
#9897FF #FF97CA #FEFF97 #97FFCC
square
#9897FF #FF97CA #FEFF97 #97FFCC
split-complementary
#9897FF #FFCC97 #CAFF97
monochromatic
#1F1DFF #5B5AFF #9897FF #D5D4FF #E1E0FF

Accessibility & contrast

On white

2.56
#9897FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#9897FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9897FF
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9897FF#FFFFFF#000000##000000
##9897FF1.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)
#72A5FF
Deuteranopia (green-blind)
#6D9EFD
Tritanopia (blue-blind)
#79ACBF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9897ff;
/* rgb */ color: rgb(152, 151, 255);
/* oklch */ color: oklch(72.1% 0.149 282.4);
Tailwind
colors: {
  custom: {
    50: '#bab5ff',
    500: '#9897ff',
    950: '#000000',
  },
}
SCSS
$custom: #9897ff;
$custom-light: #bab5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9897ff",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 240.577,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.72131,
    "c": 0.14911,
    "h": 282.4
  },
  "luminance": 0.36029
}

Semantic roles & 50–950 ramp

primary
#9897FF
secondary
#F7F7D4
accent
#E600E3
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #9897FF

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

Preview Lab → · Contrast checker → · Palette generator →

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