#8A97E4#8A97E4

#8A97E4 is a light, moderate blue. Relative luminance 0.331; OKLCH L 69.7% C 0.114 H 275.7°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#8A97E4
RGBrgb(138, 151, 228)
HSLhsl(231, 63%, 72%)
HSVhsv(231, 39%, 89%)
CMYKcmyk(39.5%, 33.8%, 0%, 10.6%)
CIE-LABlab(64.27, 14.24, -40.48)
CIE-LCHlch(64.27, 42.92, 289.38°)
OKLaboklab(69.72% 0.0114 -0.1134)
OKLCHoklch(69.72% 0.114 275.7)
XYZxyz(35.5473, 33.1364, 77.9067)
Luminance0.3314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97E4 #E4D78A
analogous
#8AC4E4 #8A97E4 #AA8AE4
triadic
#8A97E4 #E48A97 #97E48A
tetradic
#8A97E4 #E48AC4 #E4D78A #8AE4AA
square
#8A97E4 #E48AC4 #E4D78A #8AE4AA
split-complementary
#8A97E4 #E4AA8A #C4E48A
monochromatic
#2E44C6 #586BD9 #8A97E4 #BCC3EF #E6E9F9

Accessibility & contrast

On white

2.75
#8A97E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#8A97E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97E4
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97E4#FFFFFF#000000##000000
##8A97E41.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA0E7
Deuteranopia (green-blind)
#7798E2
Tritanopia (blue-blind)
#6EA6B3
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8a97e4;
/* rgb */ color: rgb(138, 151, 228);
/* oklch */ color: oklch(69.7% 0.114 275.7);
Tailwind
colors: {
  custom: {
    50: '#afb5ed',
    500: '#8a97e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a97e4;
$custom-light: #afb5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97e4",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 228
  },
  "hsl": {
    "h": 231.333,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69723,
    "c": 0.11397,
    "h": 275.7
  },
  "luminance": 0.33138
}

Semantic roles & 50–950 ramp

primary
#8A97E4
secondary
#F0EDD9
accent
#B11BCA
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A97E4

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

Preview Lab → · Contrast checker → · Palette generator →

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