#8A97DB#8A97DB

#8A97DB is a light, moderate blue. Relative luminance 0.327; OKLCH L 69.3% C 0.101 H 275.2°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#8A97DB
RGBrgb(138, 151, 219)
HSLhsl(230, 53%, 70%)
HSVhsv(230, 37%, 86%)
CMYKcmyk(37%, 31.1%, 0%, 14.1%)
CIE-LABlab(63.88, 11.79, -36.12)
CIE-LCHlch(63.88, 37.99, 288.07°)
OKLaboklab(69.29% 0.0091 -0.1008)
OKLCHoklch(69.29% 0.101 275.2)
XYZxyz(34.3303, 32.6496, 71.4972)
Luminance0.3265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97DB #DBCE8A
analogous
#8AC0DB #8A97DB #A58ADB
triadic
#8A97DB #DB8A97 #97DB8A
tetradic
#8A97DB #DB8AC0 #DBCE8A #8ADBA5
square
#8A97DB #DB8AC0 #DBCE8A #8ADBA5
split-complementary
#8A97DB #DBA58A #C0DB8A
monochromatic
#374BB3 #5B6DCD #8A97DB #B9C1E9 #E8EAF8

Accessibility & contrast

On white

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

On black

7.53
#8A97DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97DB
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97DB#FFFFFF#000000##000000
##8A97DB1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#819EDE
Deuteranopia (green-blind)
#7B98D9
Tritanopia (blue-blind)
#72A4AF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a97db;
/* rgb */ color: rgb(138, 151, 219);
/* oklch */ color: oklch(69.3% 0.101 275.2);
Tailwind
colors: {
  custom: {
    50: '#afb5e6',
    500: '#8a97db',
    950: '#000000',
  },
}
SCSS
$custom: #8a97db;
$custom-light: #afb5e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97db",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 219
  },
  "hsl": {
    "h": 230.37,
    "s": 52.941,
    "l": 70
  },
  "oklch": {
    "l": 0.69288,
    "c": 0.1012,
    "h": 275.2
  },
  "luminance": 0.32651
}

Semantic roles & 50–950 ramp

primary
#8A97DB
secondary
#ECE8D5
accent
#A725C0
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A97DB

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

Preview Lab → · Contrast checker → · Palette generator →

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