#897AEB#897AEB

#897AEB is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.5% C 0.164 H 286.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#897AEB
RGBrgb(137, 122, 235)
HSLhsl(248, 74%, 70%)
HSVhsv(248, 48%, 92%)
CMYKcmyk(41.7%, 48.1%, 0%, 7.8%)
CIE-LABlab(57.30, 32.84, -55.39)
CIE-LCHlch(57.30, 64.40, 300.66°)
OKLaboklab(64.51% 0.0478 -0.157)
OKLCHoklch(64.51% 0.164 286.9)
XYZxyz(32.2672, 25.2344, 81.7517)
Luminance0.2524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897AEB #DCEB7A
analogous
#7AA3EB #897AEB #C27AEB
triadic
#897AEB #EB897A #7AEB89
tetradic
#897AEB #EB7AA3 #DCEB7A #7AEBC2
square
#897AEB #EB7AA3 #DCEB7A #7AEBC2
split-complementary
#897AEB #EBC27A #A3EB7A
monochromatic
#361FCC #5A45E3 #897AEB #B8AFF3 #E7E4FB

Accessibility & contrast

On white

3.47
#897AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#897AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897AEB
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897AEB#FFFFFF#000000##000000
##897AEB1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8CEF
Deuteranopia (green-blind)
#4B87E8
Tritanopia (blue-blind)
#6C91A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #897aeb;
/* rgb */ color: rgb(137, 122, 235);
/* oklch */ color: oklch(64.5% 0.164 286.9);
Tailwind
colors: {
  custom: {
    50: '#b0a0f2',
    500: '#897aeb',
    950: '#000000',
  },
}
SCSS
$custom: #897aeb;
$custom-light: #b0a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#897aeb",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 247.965,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.64509,
    "c": 0.16411,
    "h": 286.9
  },
  "luminance": 0.25236
}

Semantic roles & 50–950 ramp

primary
#897AEB
secondary
#ECF0D1
accent
#D610BC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #897AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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