#897FEE#897FEE

#897FEE is a light, vivid blue. Relative luminance 0.267; OKLCH L 65.6% C 0.161 H 285.1°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#897FEE
RGBrgb(137, 127, 238)
HSLhsl(245, 77%, 72%)
HSVhsv(245, 47%, 93%)
CMYKcmyk(42.4%, 46.6%, 0%, 6.7%)
CIE-LABlab(58.67, 30.77, -54.89)
CIE-LCHlch(58.67, 62.92, 299.27°)
OKLaboklab(65.59% 0.0421 -0.1555)
OKLCHoklch(65.59% 0.161 285.1)
XYZxyz(33.3341, 26.6688, 84.2636)
Luminance0.2667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897FEE #E4EE7F
analogous
#7FADEE #897FEE #C17FEE
triadic
#897FEE #EE897F #7FEE89
tetradic
#897FEE #EE7FAD #E4EE7F #7FEEC1
square
#897FEE #EE7FAD #E4EE7F #7FEEC1
split-complementary
#897FEE #EEC17F #ADEE7F
monochromatic
#2D1CD6 #5749E7 #897FEE #BBB5F5 #E6E4FB

Accessibility & contrast

On white

3.32
#897FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#897FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897FEE
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897FEE#FFFFFF#000000##000000
##897FEE1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5390F2
Deuteranopia (green-blind)
#508AEB
Tritanopia (blue-blind)
#6A96AB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #897fee;
/* rgb */ color: rgb(137, 127, 238);
/* oklch */ color: oklch(65.6% 0.161 285.1);
Tailwind
colors: {
  custom: {
    50: '#b0a4f4',
    500: '#897fee',
    950: '#000000',
  },
}
SCSS
$custom: #897fee;
$custom-light: #b0a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#897fee",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 245.405,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65589,
    "c": 0.16108,
    "h": 285.1
  },
  "luminance": 0.2667
}

Semantic roles & 50–950 ramp

primary
#897FEE
secondary
#F0F3D6
accent
#D90DC6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #897FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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