#8A97DA#8A97DA

#8A97DA is a light, moderate blue. Relative luminance 0.326; OKLCH L 69.2% C 0.100 H 275.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#8A97DA
RGBrgb(138, 151, 218)
HSLhsl(230, 52%, 70%)
HSVhsv(230, 37%, 85%)
CMYKcmyk(36.7%, 30.7%, 0%, 14.5%)
CIE-LABlab(63.83, 11.52, -35.63)
CIE-LCHlch(63.83, 37.45, 287.91°)
OKLaboklab(69.24% 0.0088 -0.0994)
OKLCHoklch(69.24% 0.1 275.1)
XYZxyz(34.1990, 32.5971, 70.8060)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97DA #DACD8A
analogous
#8ABFDA #8A97DA #A58ADA
triadic
#8A97DA #DA8A97 #97DA8A
tetradic
#8A97DA #DA8ABF #DACD8A #8ADAA5
square
#8A97DA #DA8ABF #DACD8A #8ADAA5
split-complementary
#8A97DA #DAA58A #BFDA8A
monochromatic
#384CB1 #5C6ECB #8A97DA #B8C0E9 #E7EAF7

Accessibility & contrast

On white

2.79
#8A97DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#8A97DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97DA
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97DA#FFFFFF#000000##000000
##8A97DA1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#819EDD
Deuteranopia (green-blind)
#7C98D8
Tritanopia (blue-blind)
#73A4AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a97da;
/* rgb */ color: rgb(138, 151, 218);
/* oklch */ color: oklch(69.2% 0.100 275.1);
Tailwind
colors: {
  custom: {
    50: '#aeb5e5',
    500: '#8a97da',
    950: '#000000',
  },
}
SCSS
$custom: #8a97da;
$custom-light: #aeb5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97da",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 218
  },
  "hsl": {
    "h": 230.25,
    "s": 51.948,
    "l": 69.804
  },
  "oklch": {
    "l": 0.69241,
    "c": 0.09977,
    "h": 275.1
  },
  "luminance": 0.32598
}

Semantic roles & 50–950 ramp

primary
#8A97DA
secondary
#EBE8D5
accent
#A626BF
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#101116
muted
#7F8084

Preview Lab

Preview with #8A97DA

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

Preview Lab → · Contrast checker → · Palette generator →

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