#9897EA#9897EA

#9897EA is a light, vivid blue. Relative luminance 0.347; OKLCH L 71.1% C 0.120 H 283.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#9897EA
RGBrgb(152, 151, 234)
HSLhsl(241, 66%, 75%)
HSVhsv(241, 35%, 92%)
CMYKcmyk(35%, 35.5%, 0%, 8.2%)
CIE-LABlab(65.55, 19.59, -41.71)
CIE-LCHlch(65.55, 46.09, 295.16°)
OKLaboklab(71.05% 0.0279 -0.1167)
OKLCHoklch(71.05% 0.12 283.5)
XYZxyz(38.8627, 34.7479, 82.4854)
Luminance0.3475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9897EA #E9EA97
analogous
#97BFEA #9897EA #C197EA
triadic
#9897EA #EA9897 #97EA98
tetradic
#9897EA #EA97BF #E9EA97 #97EAC1
square
#9897EA #EA97BF #E9EA97 #97EAC1
split-complementary
#9897EA #EAC197 #BFEA97
monochromatic
#3331D5 #6664E0 #9897EA #CACAF4 #E6E6FA

Accessibility & contrast

On white

2.64
#9897EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#9897EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9897EA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9897EA#FFFFFF#000000##000000
##9897EA1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA2ED
Deuteranopia (green-blind)
#7A9DE8
Tritanopia (blue-blind)
#82A7B6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #9897ea;
/* rgb */ color: rgb(152, 151, 234);
/* oklch */ color: oklch(71.1% 0.120 283.5);
Tailwind
colors: {
  custom: {
    50: '#b9b5f1',
    500: '#9897ea',
    950: '#000000',
  },
}
SCSS
$custom: #9897ea;
$custom-light: #b9b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9897ea",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 240.723,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71052,
    "c": 0.12,
    "h": 283.5
  },
  "luminance": 0.34749
}

Semantic roles & 50–950 ramp

primary
#9897EA
secondary
#F1F1DA
accent
#CE17CC
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #9897EA

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

Preview Lab → · Contrast checker → · Palette generator →

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