#9897E4#9897E4

#9897E4 is a light, moderate blue. Relative luminance 0.344; OKLCH L 70.8% C 0.112 H 283.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#9897E4
RGBrgb(152, 151, 228)
HSLhsl(241, 59%, 74%)
HSVhsv(241, 34%, 89%)
CMYKcmyk(33.3%, 33.8%, 0%, 10.6%)
CIE-LABlab(65.29, 18.02, -38.82)
CIE-LCHlch(65.29, 42.80, 294.90°)
OKLaboklab(70.76% 0.0265 -0.1083)
OKLCHoklch(70.76% 0.112 283.8)
XYZxyz(38.0153, 34.4089, 78.0224)
Luminance0.3441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9897E4 #E3E497
analogous
#97BDE4 #9897E4 #BF97E4
triadic
#9897E4 #E49897 #97E498
tetradic
#9897E4 #E497BD #E3E497 #97E4BF
square
#9897E4 #E497BD #E3E497 #97E4BF
split-complementary
#9897E4 #E4BF97 #BDE497
monochromatic
#3836CB #6866D7 #9897E4 #C8C8F1 #E7E7F9

Accessibility & contrast

On white

2.66
#9897E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#9897E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9897E4
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9897E4#FFFFFF#000000##000000
##9897E41.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A1E7
Deuteranopia (green-blind)
#7D9CE2
Tritanopia (blue-blind)
#84A5B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #9897e4;
/* rgb */ color: rgb(152, 151, 228);
/* oklch */ color: oklch(70.8% 0.112 283.8);
Tailwind
colors: {
  custom: {
    50: '#b8b5ed',
    500: '#9897e4',
    950: '#000000',
  },
}
SCSS
$custom: #9897e4;
$custom-light: #b8b5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9897e4",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 240.779,
    "s": 58.779,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7076,
    "c": 0.11154,
    "h": 283.8
  },
  "luminance": 0.3441
}

Semantic roles & 50–950 ramp

primary
#9897E4
secondary
#F0F0DB
accent
#C61FC4
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #9897E4

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

Preview Lab → · Contrast checker → · Palette generator →

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