#897AEA#897AEA

#897AEA is a light, vivid blue. Relative luminance 0.252; OKLCH L 64.4% C 0.163 H 287.0°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#897AEA
RGBrgb(137, 122, 234)
HSLhsl(248, 73%, 70%)
HSVhsv(248, 48%, 92%)
CMYKcmyk(41.5%, 47.9%, 0%, 8.2%)
CIE-LABlab(57.25, 32.56, -54.93)
CIE-LCHlch(57.25, 63.85, 300.66°)
OKLaboklab(64.45% 0.0477 -0.1556)
OKLCHoklch(64.45% 0.163 287)
XYZxyz(32.1231, 25.1768, 80.9930)
Luminance0.2518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897AEA #DBEA7A
analogous
#7AA3EA #897AEA #C17AEA
triadic
#897AEA #EA897A #7AEA89
tetradic
#897AEA #EA7AA3 #DBEA7A #7AEAC1
square
#897AEA #EA7AA3 #DBEA7A #7AEAC1
split-complementary
#897AEA #EAC17A #A3EA7A
monochromatic
#3720CA #5A45E2 #897AEA #B8AFF2 #E7E4FB

Accessibility & contrast

On white

3.48
#897AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#897AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897AEA
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897AEA#FFFFFF#000000##000000
##897AEA1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#4C86E7
Tritanopia (blue-blind)
#6D91A7
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #897aea;
/* rgb */ color: rgb(137, 122, 234);
/* oklch */ color: oklch(64.4% 0.163 287.0);
Tailwind
colors: {
  custom: {
    50: '#b0a0f1',
    500: '#897aea',
    950: '#000000',
  },
}
SCSS
$custom: #897aea;
$custom-light: #b0a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#897aea",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 248.036,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.64449,
    "c": 0.16277,
    "h": 287
  },
  "luminance": 0.25178
}

Semantic roles & 50–950 ramp

primary
#897AEA
secondary
#EBF0D0
accent
#D511BB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110E17
muted
#807E85

Preview Lab

Preview with #897AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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