#9897FC#9897FC

#9897FC is a light, vivid blue. Relative luminance 0.358; OKLCH L 72.0% C 0.145 H 282.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#9897FC
RGBrgb(152, 151, 252)
HSLhsl(241, 94%, 79%)
HSVhsv(241, 40%, 99%)
CMYKcmyk(39.7%, 40.1%, 0%, 1.2%)
CIE-LABlab(66.39, 24.42, -50.25)
CIE-LCHlch(66.39, 55.87, 295.92°)
OKLaboklab(71.97% 0.0316 -0.1415)
OKLCHoklch(71.97% 0.145 282.6)
XYZxyz(41.5811, 35.8353, 96.8026)
Luminance0.3584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9897FC #FBFC97
analogous
#97C9FC #9897FC #CB97FC
triadic
#9897FC #FC9897 #97FC98
tetradic
#9897FC #FC97C9 #FBFC97 #97FCCB
square
#9897FC #FC97C9 #FBFC97 #97FCCB
split-complementary
#9897FC #FCCB97 #C9FC97
monochromatic
#2220F9 #5D5CFA #9897FC #D3D2FE #E2E1FE

Accessibility & contrast

On white

2.57
#9897FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#9897FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9897FC
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9897FC#FFFFFF#000000##000000
##9897FC1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A5FF
Deuteranopia (green-blind)
#6F9EFA
Tritanopia (blue-blind)
#7BABBD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9897fc;
/* rgb */ color: rgb(152, 151, 252);
/* oklch */ color: oklch(72.0% 0.145 282.6);
Tailwind
colors: {
  custom: {
    50: '#bab5fe',
    500: '#9897fc',
    950: '#000000',
  },
}
SCSS
$custom: #9897fc;
$custom-light: #bab5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9897fc",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 240.594,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.71971,
    "c": 0.145,
    "h": 282.6
  },
  "luminance": 0.35837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9897FC

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

Preview Lab → · Contrast checker → · Palette generator →

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