#8A97EA#8A97EA

#8A97EA is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.0% C 0.122 H 276.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#8A97EA
RGBrgb(138, 151, 234)
HSLhsl(232, 70%, 73%)
HSVhsv(232, 41%, 92%)
CMYKcmyk(41%, 35.5%, 0%, 8.2%)
CIE-LABlab(64.54, 15.91, -43.37)
CIE-LCHlch(64.54, 46.19, 290.15°)
OKLaboklab(70.02% 0.0128 -0.1218)
OKLCHoklch(70.02% 0.122 276)
XYZxyz(36.3947, 33.4753, 82.3697)
Luminance0.3348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97EA #EADD8A
analogous
#8AC7EA #8A97EA #AD8AEA
triadic
#8A97EA #EA8A97 #97EA8A
tetradic
#8A97EA #EA8AC7 #EADD8A #8AEAAD
square
#8A97EA #EA8AC7 #EADD8A #8AEAAD
split-complementary
#8A97EA #EAAD8A #C7EA8A
monochromatic
#263DD4 #5669E1 #8A97EA #BEC5F3 #E5E8FA

Accessibility & contrast

On white

2.73
#8A97EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#8A97EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97EA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97EA#FFFFFF#000000##000000
##8A97EA1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1ED
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#6BA8B6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8a97ea;
/* rgb */ color: rgb(138, 151, 234);
/* oklch */ color: oklch(70.0% 0.122 276.0);
Tailwind
colors: {
  custom: {
    50: '#b0b5f1',
    500: '#8a97ea',
    950: '#000000',
  },
}
SCSS
$custom: #8a97ea;
$custom-light: #b0b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97ea",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 231.875,
    "s": 69.565,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70023,
    "c": 0.12243,
    "h": 276
  },
  "luminance": 0.33477
}

Semantic roles & 50–950 ramp

primary
#8A97EA
secondary
#F2EFD9
accent
#B814D2
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A97EA

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

Preview Lab → · Contrast checker → · Palette generator →

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