#8997EA#8997EA

#8997EA is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.0% C 0.123 H 275.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8997EA
RGBrgb(137, 151, 234)
HSLhsl(231, 70%, 73%)
HSVhsv(231, 41%, 92%)
CMYKcmyk(41.5%, 35.5%, 0%, 8.2%)
CIE-LABlab(64.48, 15.65, -43.48)
CIE-LCHlch(64.48, 46.21, 289.80°)
OKLaboklab(69.95% 0.0117 -0.1221)
OKLCHoklch(69.95% 0.123 275.5)
XYZxyz(36.2299, 33.3904, 82.3619)
Luminance0.3339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8997EA #EADC89
analogous
#89C8EA #8997EA #AB89EA
triadic
#8997EA #EA8997 #97EA89
tetradic
#8997EA #EA89C8 #EADC89 #89EAAB
square
#8997EA #EA89C8 #EADC89 #89EAAB
split-complementary
#8997EA #EAAB89 #C8EA89
monochromatic
#263FD3 #5569E1 #8997EA #BDC5F3 #E5E8FA

Accessibility & contrast

On white

2.73
#8997EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#8997EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8997EA
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8997EA#FFFFFF#000000##000000
##8997EA1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8997ea;
/* rgb */ color: rgb(137, 151, 234);
/* oklch */ color: oklch(70.0% 0.123 275.5);
Tailwind
colors: {
  custom: {
    50: '#afb5f1',
    500: '#8997ea',
    950: '#000000',
  },
}
SCSS
$custom: #8997ea;
$custom-light: #afb5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8997ea",
  "rgb": {
    "r": 137,
    "g": 151,
    "b": 234
  },
  "hsl": {
    "h": 231.34,
    "s": 69.784,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69953,
    "c": 0.12266,
    "h": 275.5
  },
  "luminance": 0.33392
}

Semantic roles & 50–950 ramp

primary
#8997EA
secondary
#F2EED9
accent
#B614D2
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8997EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8997EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva