#8A97DD#8A97DD

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

Color values

HEX#8A97DD
RGBrgb(138, 151, 221)
HSLhsl(231, 55%, 70%)
HSVhsv(231, 38%, 87%)
CMYKcmyk(37.6%, 31.7%, 0%, 13.3%)
CIE-LABlab(63.96, 12.33, -37.09)
CIE-LCHlch(63.96, 39.09, 288.39°)
OKLaboklab(69.38% 0.0096 -0.1036)
OKLCHoklch(69.38% 0.104 275.3)
XYZxyz(34.5952, 32.7555, 72.8922)
Luminance0.3276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97DD #DDD08A
analogous
#8AC1DD #8A97DD #A68ADD
triadic
#8A97DD #DD8A97 #97DD8A
tetradic
#8A97DD #DD8AC1 #DDD08A #8ADDA6
square
#8A97DD #DD8AC1 #DDD08A #8ADDA6
split-complementary
#8A97DD #DDA68A #C1DD8A
monochromatic
#354AB7 #5B6DCF #8A97DD #B9C1EB #E7EAF8

Accessibility & contrast

On white

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

On black

7.55
#8A97DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97DD
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97DD#FFFFFF#000000##000000
##8A97DD1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#809EE0
Deuteranopia (green-blind)
#7A98DB
Tritanopia (blue-blind)
#71A5B0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #8a97dd;
/* rgb */ color: rgb(138, 151, 221);
/* oklch */ color: oklch(69.4% 0.104 275.3);
Tailwind
colors: {
  custom: {
    50: '#afb5e8',
    500: '#8a97dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a97dd;
$custom-light: #afb5e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97dd",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 230.602,
    "s": 54.967,
    "l": 70.392
  },
  "oklch": {
    "l": 0.69383,
    "c": 0.10405,
    "h": 275.3
  },
  "luminance": 0.32757
}

Semantic roles & 50–950 ramp

primary
#8A97DD
secondary
#EDE9D6
accent
#A923C2
background
#FAFBFE
surface
#F5F6FC
border
#CFD0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A97DD

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

Preview Lab → · Contrast checker → · Palette generator →

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