#8A97DF#8A97DF

#8A97DF is a light, moderate blue. Relative luminance 0.329; OKLCH L 69.5% C 0.107 H 275.4°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#8A97DF
RGBrgb(138, 151, 223)
HSLhsl(231, 57%, 71%)
HSVhsv(231, 38%, 87%)
CMYKcmyk(38.1%, 32.3%, 0%, 12.5%)
CIE-LABlab(64.05, 12.87, -38.06)
CIE-LCHlch(64.05, 40.18, 288.69°)
OKLaboklab(69.48% 0.0101 -0.1064)
OKLCHoklch(69.48% 0.107 275.4)
XYZxyz(34.8632, 32.8627, 74.3039)
Luminance0.3286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97DF #DFD28A
analogous
#8AC1DF #8A97DF #A78ADF
triadic
#8A97DF #DF8A97 #97DF8A
tetradic
#8A97DF #DF8AC1 #DFD28A #8ADFA7
square
#8A97DF #DF8AC1 #DFD28A #8ADFA7
split-complementary
#8A97DF #DFA78A #C1DF8A
monochromatic
#3348BB #5A6CD2 #8A97DF #BAC2EC #E7EAF8

Accessibility & contrast

On white

2.77
#8A97DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#8A97DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97DF
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97DF#FFFFFF#000000##000000
##8A97DF1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F9FE2
Deuteranopia (green-blind)
#7998DD
Tritanopia (blue-blind)
#70A5B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a97df;
/* rgb */ color: rgb(138, 151, 223);
/* oklch */ color: oklch(69.5% 0.107 275.4);
Tailwind
colors: {
  custom: {
    50: '#afb5e9',
    500: '#8a97df',
    950: '#000000',
  },
}
SCSS
$custom: #8a97df;
$custom-light: #afb5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97df",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 223
  },
  "hsl": {
    "h": 230.824,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69479,
    "c": 0.10689,
    "h": 275.4
  },
  "luminance": 0.32864
}

Semantic roles & 50–950 ramp

primary
#8A97DF
secondary
#EEEAD7
accent
#AC21C5
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A97DF

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

Preview Lab → · Contrast checker → · Palette generator →

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