#8997F7#8997F7

#8997F7 is a light, vivid blue. Relative luminance 0.342; OKLCH L 70.6% C 0.141 H 275.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#8997F7
RGBrgb(137, 151, 247)
HSLhsl(232, 87%, 75%)
HSVhsv(232, 45%, 97%)
CMYKcmyk(44.5%, 38.9%, 0%, 3.1%)
CIE-LABlab(65.09, 19.34, -49.64)
CIE-LCHlch(65.09, 53.28, 291.28°)
OKLaboklab(70.63% 0.0145 -0.14)
OKLCHoklch(70.63% 0.141 275.9)
XYZxyz(38.1665, 34.1650, 92.5611)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8997F7 #F7E989
analogous
#89CEF7 #8997F7 #B289F7
triadic
#8997F7 #F78997 #97F789
tetradic
#8997F7 #F789CE #F7E989 #89F7B2
square
#8997F7 #F789CE #F7E989 #89F7B2
split-complementary
#8997F7 #F7B289 #CEF789
monochromatic
#1632EF #5064F3 #8997F7 #C2CAFB #E2E6FD

Accessibility & contrast

On white

2.68
#8997F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#8997F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8997F7
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8997F7#FFFFFF#000000##000000
##8997F71.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FB
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#63ABBB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8997f7;
/* rgb */ color: rgb(137, 151, 247);
/* oklch */ color: oklch(70.6% 0.141 275.9);
Tailwind
colors: {
  custom: {
    50: '#b0b5fa',
    500: '#8997f7',
    950: '#000000',
  },
}
SCSS
$custom: #8997f7;
$custom-light: #b0b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8997f7",
  "rgb": {
    "r": 137,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 232.364,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7063,
    "c": 0.1408,
    "h": 275.9
  },
  "luminance": 0.34167
}

Semantic roles & 50–950 ramp

primary
#8997F7
secondary
#F5F1D6
accent
#C702E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8997F7

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

Preview Lab → · Contrast checker → · Palette generator →

#8997F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva