#8A97DC#8A97DC

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

Color values

HEX#8A97DC
RGBrgb(138, 151, 220)
HSLhsl(230, 54%, 70%)
HSVhsv(230, 37%, 86%)
CMYKcmyk(37.3%, 31.4%, 0%, 13.7%)
CIE-LABlab(63.92, 12.06, -36.61)
CIE-LCHlch(63.92, 38.54, 288.23°)
OKLaboklab(69.34% 0.0094 -0.1022)
OKLCHoklch(69.34% 0.103 275.2)
XYZxyz(34.4623, 32.7024, 72.1926)
Luminance0.3270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97DC #DCCF8A
analogous
#8AC0DC #8A97DC #A68ADC
triadic
#8A97DC #DC8A97 #97DC8A
tetradic
#8A97DC #DC8AC0 #DCCF8A #8ADCA6
square
#8A97DC #DC8AC0 #DCCF8A #8ADCA6
split-complementary
#8A97DC #DCA68A #C0DC8A
monochromatic
#364AB5 #5B6DCE #8A97DC #B9C1EA #E7EAF8

Accessibility & contrast

On white

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

On black

7.54
#8A97DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97DC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97DC#FFFFFF#000000##000000
##8A97DC1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#819EDF
Deuteranopia (green-blind)
#7B98DA
Tritanopia (blue-blind)
#72A5B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a97dc;
/* rgb */ color: rgb(138, 151, 220);
/* oklch */ color: oklch(69.3% 0.103 275.2);
Tailwind
colors: {
  custom: {
    50: '#afb5e7',
    500: '#8a97dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a97dc;
$custom-light: #afb5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97dc",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 230.488,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69336,
    "c": 0.10263,
    "h": 275.2
  },
  "luminance": 0.32704
}

Semantic roles & 50–950 ramp

primary
#8A97DC
secondary
#ECE9D6
accent
#A824C1
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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