#8A97DE#8A97DE

#8A97DE is a light, moderate blue. Relative luminance 0.328; OKLCH L 69.4% C 0.105 H 275.4°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#8A97DE
RGBrgb(138, 151, 222)
HSLhsl(231, 56%, 71%)
HSVhsv(231, 38%, 87%)
CMYKcmyk(37.8%, 32%, 0%, 12.9%)
CIE-LABlab(64.01, 12.60, -37.58)
CIE-LCHlch(64.01, 39.64, 288.54°)
OKLaboklab(69.43% 0.0099 -0.105)
OKLCHoklch(69.43% 0.105 275.4)
XYZxyz(34.7288, 32.8090, 73.5960)
Luminance0.3281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97DE #DED18A
analogous
#8AC1DE #8A97DE #A78ADE
triadic
#8A97DE #DE8A97 #97DE8A
tetradic
#8A97DE #DE8AC1 #DED18A #8ADEA7
square
#8A97DE #DE8AC1 #DED18A #8ADEA7
split-complementary
#8A97DE #DEA78A #C1DE8A
monochromatic
#3449B9 #5A6DD1 #8A97DE #BAC1EB #E7EAF8

Accessibility & contrast

On white

2.78
#8A97DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#8A97DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97DE
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97DE#FFFFFF#000000##000000
##8A97DE1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#809FE1
Deuteranopia (green-blind)
#7A98DC
Tritanopia (blue-blind)
#71A5B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a97de;
/* rgb */ color: rgb(138, 151, 222);
/* oklch */ color: oklch(69.4% 0.105 275.4);
Tailwind
colors: {
  custom: {
    50: '#afb5e8',
    500: '#8a97de',
    950: '#000000',
  },
}
SCSS
$custom: #8a97de;
$custom-light: #afb5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97de",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 222
  },
  "hsl": {
    "h": 230.714,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.69431,
    "c": 0.10546,
    "h": 275.4
  },
  "luminance": 0.3281
}

Semantic roles & 50–950 ramp

primary
#8A97DE
secondary
#EDEAD6
accent
#AB22C4
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A97DE

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

Preview Lab → · Contrast checker → · Palette generator →

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