#8A97F8#8A97F8

#8A97F8 is a light, vivid blue. Relative luminance 0.343; OKLCH L 70.8% C 0.142 H 276.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#8A97F8
RGBrgb(138, 151, 248)
HSLhsl(233, 89%, 76%)
HSVhsv(233, 44%, 97%)
CMYKcmyk(44.4%, 39.1%, 0%, 2.7%)
CIE-LABlab(65.21, 19.87, -50.00)
CIE-LCHlch(65.21, 53.81, 291.67°)
OKLaboklab(70.75% 0.0157 -0.1411)
OKLCHoklch(70.75% 0.142 276.4)
XYZxyz(38.4859, 34.3118, 93.3837)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97F8 #F8EB8A
analogous
#8ACEF8 #8A97F8 #B48AF8
triadic
#8A97F8 #F88A97 #97F88A
tetradic
#8A97F8 #F88ACE #F8EB8A #8AF8B4
square
#8A97F8 #F88ACE #F8EB8A #8AF8B4
split-complementary
#8A97F8 #F8B48A #CEF88A
monochromatic
#1730F1 #5064F5 #8A97F8 #C4CAFB #E2E5FD

Accessibility & contrast

On white

2.67
#8A97F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#8A97F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97F8
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97F8#FFFFFF#000000##000000
##8A97F81.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FC
Deuteranopia (green-blind)
#6B9AF6
Tritanopia (blue-blind)
#64ABBC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a97f8;
/* rgb */ color: rgb(138, 151, 248);
/* oklch */ color: oklch(70.8% 0.142 276.4);
Tailwind
colors: {
  custom: {
    50: '#b1b5fb',
    500: '#8a97f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a97f8;
$custom-light: #b1b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97f8",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 248
  },
  "hsl": {
    "h": 232.909,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70752,
    "c": 0.14195,
    "h": 276.4
  },
  "luminance": 0.34314
}

Semantic roles & 50–950 ramp

primary
#8A97F8
secondary
#F5F2D6
accent
#CA00E5
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A97F8

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

Preview Lab → · Contrast checker → · Palette generator →

#8A97F8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva