#897AEE#897AEE

#897AEE is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.7% C 0.168 H 286.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#897AEE
RGBrgb(137, 122, 238)
HSLhsl(248, 77%, 71%)
HSVhsv(248, 49%, 93%)
CMYKcmyk(42.4%, 48.7%, 0%, 6.7%)
CIE-LABlab(57.47, 33.68, -56.79)
CIE-LCHlch(57.47, 66.03, 300.67°)
OKLaboklab(64.69% 0.0481 -0.1611)
OKLCHoklch(64.69% 0.168 286.6)
XYZxyz(32.7043, 25.4092, 84.0536)
Luminance0.2541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897AEE #DFEE7A
analogous
#7AA5EE #897AEE #C37AEE
triadic
#897AEE #EE897A #7AEE89
tetradic
#897AEE #EE7AA5 #DFEE7A #7AEEC3
square
#897AEE #EE7AA5 #DFEE7A #7AEEC3
split-complementary
#897AEE #EEC37A #A5EE7A
monochromatic
#331BD3 #5944E7 #897AEE #B9B0F5 #E7E4FC

Accessibility & contrast

On white

3.45
#897AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#897AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897AEE
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897AEE#FFFFFF#000000##000000
##897AEE1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8DF2
Deuteranopia (green-blind)
#4887EB
Tritanopia (blue-blind)
#6B92A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #897aee;
/* rgb */ color: rgb(137, 122, 238);
/* oklch */ color: oklch(64.7% 0.168 286.6);
Tailwind
colors: {
  custom: {
    50: '#b0a0f4',
    500: '#897aee',
    950: '#000000',
  },
}
SCSS
$custom: #897aee;
$custom-light: #b0a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#897aee",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 247.759,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.6469,
    "c": 0.16813,
    "h": 286.6
  },
  "luminance": 0.2541
}

Semantic roles & 50–950 ramp

primary
#897AEE
secondary
#EEF2D2
accent
#DA0CBF
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #897AEE

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

Preview Lab → · Contrast checker → · Palette generator →

#897AEE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva