#897AEF#897AEF

#897AEF is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.8% C 0.169 H 286.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#897AEF
RGBrgb(137, 122, 239)
HSLhsl(248, 79%, 71%)
HSVhsv(248, 49%, 94%)
CMYKcmyk(42.7%, 49%, 0%, 6.3%)
CIE-LABlab(57.53, 33.96, -57.26)
CIE-LCHlch(57.53, 66.57, 300.67°)
OKLaboklab(64.75% 0.0482 -0.1625)
OKLCHoklch(64.75% 0.169 286.5)
XYZxyz(32.8516, 25.4682, 84.8295)
Luminance0.2547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897AEF #E0EF7A
analogous
#7AA5EF #897AEF #C37AEF
triadic
#897AEF #EF897A #7AEF89
tetradic
#897AEF #EF7AA5 #E0EF7A #7AEFC3
square
#897AEF #EF7AA5 #E0EF7A #7AEFC3
split-complementary
#897AEF #EFC37A #A5EF7A
monochromatic
#321AD5 #5943E8 #897AEF #B9B1F6 #E7E4FC

Accessibility & contrast

On white

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

On black

6.09
#897AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897AEF
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897AEF#FFFFFF#000000##000000
##897AEF1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#4787EC
Tritanopia (blue-blind)
#6A92A9
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #897aef;
/* rgb */ color: rgb(137, 122, 239);
/* oklch */ color: oklch(64.8% 0.169 286.5);
Tailwind
colors: {
  custom: {
    50: '#b0a0f5',
    500: '#897aef',
    950: '#000000',
  },
}
SCSS
$custom: #897aef;
$custom-light: #b0a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#897aef",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 247.692,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.64751,
    "c": 0.16946,
    "h": 286.5
  },
  "luminance": 0.25469
}

Semantic roles & 50–950 ramp

primary
#897AEF
secondary
#EEF2D3
accent
#DB0BC0
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110F17
muted
#807E85

Preview Lab

Preview with #897AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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