#8A97EF#8A97EF

#8A97EF is a light, vivid blue. Relative luminance 0.338; OKLCH L 70.3% C 0.129 H 276.2°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8A97EF
RGBrgb(138, 151, 239)
HSLhsl(232, 76%, 74%)
HSVhsv(232, 42%, 94%)
CMYKcmyk(42.3%, 36.8%, 0%, 6.3%)
CIE-LABlab(64.78, 17.31, -45.75)
CIE-LCHlch(64.78, 48.92, 290.72°)
OKLaboklab(70.28% 0.0139 -0.1287)
OKLCHoklch(70.28% 0.129 276.2)
XYZxyz(37.1231, 33.7667, 86.2062)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97EF #EFE28A
analogous
#8ACAEF #8A97EF #B08AEF
triadic
#8A97EF #EF8A97 #97EF8A
tetradic
#8A97EF #EF8ACA #EFE28A #8AEFB0
square
#8A97EF #EF8ACA #EFE28A #8AEFB0
split-complementary
#8A97EF #EFB08A #CAEF8A
monochromatic
#1F38E0 #5467E8 #8A97EF #C0C7F6 #E4E7FB

Accessibility & contrast

On white

2.71
#8A97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#8A97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97EF
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97EF#FFFFFF#000000##000000
##8A97EF1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F3
Deuteranopia (green-blind)
#7099ED
Tritanopia (blue-blind)
#69A9B8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a97ef;
/* rgb */ color: rgb(138, 151, 239);
/* oklch */ color: oklch(70.3% 0.129 276.2);
Tailwind
colors: {
  custom: {
    50: '#b0b5f4',
    500: '#8a97ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a97ef;
$custom-light: #b0b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97ef",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 232.277,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70279,
    "c": 0.12944,
    "h": 276.2
  },
  "luminance": 0.33768
}

Semantic roles & 50–950 ramp

primary
#8A97EF
secondary
#F3F0D8
accent
#BE0DD8
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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