#8A97E2#8A97E2

#8A97E2 is a light, moderate blue. Relative luminance 0.330; OKLCH L 69.6% C 0.111 H 275.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8A97E2
RGBrgb(138, 151, 226)
HSLhsl(231, 60%, 71%)
HSVhsv(231, 39%, 89%)
CMYKcmyk(38.9%, 33.2%, 0%, 11.4%)
CIE-LABlab(64.18, 13.69, -39.52)
CIE-LCHlch(64.18, 41.82, 289.11°)
OKLaboklab(69.63% 0.0109 -0.1106)
OKLCHoklch(69.63% 0.111 275.6)
XYZxyz(35.2712, 33.0260, 76.4530)
Luminance0.3303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97E2 #E2D58A
analogous
#8AC3E2 #8A97E2 #A98AE2
triadic
#8A97E2 #E28A97 #97E28A
tetradic
#8A97E2 #E28AC3 #E2D58A #8AE2A9
square
#8A97E2 #E28AC3 #E2D58A #8AE2A9
split-complementary
#8A97E2 #E2A98A #C3E28A
monochromatic
#3046C2 #596BD6 #8A97E2 #BBC3EE #E6E9F9

Accessibility & contrast

On white

2.76
#8A97E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#8A97E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97E2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97E2#FFFFFF#000000##000000
##8A97E21.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9FE5
Deuteranopia (green-blind)
#7898E0
Tritanopia (blue-blind)
#6FA6B2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8a97e2;
/* rgb */ color: rgb(138, 151, 226);
/* oklch */ color: oklch(69.6% 0.111 275.6);
Tailwind
colors: {
  custom: {
    50: '#afb5eb',
    500: '#8a97e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a97e2;
$custom-light: #afb5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97e2",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 231.136,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.69625,
    "c": 0.11114,
    "h": 275.6
  },
  "luminance": 0.33027
}

Semantic roles & 50–950 ramp

primary
#8A97E2
secondary
#EFECD8
accent
#AF1EC8
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A97E2

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

Preview Lab → · Contrast checker → · Palette generator →

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