#897FEF#897FEF

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

Color values

HEX#897FEF
RGBrgb(137, 127, 239)
HSLhsl(245, 78%, 72%)
HSVhsv(245, 47%, 94%)
CMYKcmyk(42.7%, 46.9%, 0%, 6.3%)
CIE-LABlab(58.72, 31.05, -55.35)
CIE-LCHlch(58.72, 63.47, 299.29°)
OKLaboklab(65.65% 0.0422 -0.1569)
OKLCHoklch(65.65% 0.162 285.1)
XYZxyz(33.4814, 26.7278, 85.0395)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897FEF #E5EF7F
analogous
#7FADEF #897FEF #C17FEF
triadic
#897FEF #EF897F #7FEF89
tetradic
#897FEF #EF7FAD #E5EF7F #7FEFC1
square
#897FEF #EF7FAD #E5EF7F #7FEFC1
split-complementary
#897FEF #EFC17F #ADEF7F
monochromatic
#2C1BD9 #5749E8 #897FEF #BBB5F6 #E6E4FC

Accessibility & contrast

On white

3.31
#897FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#897FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897FEF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897FEF#FFFFFF#000000##000000
##897FEF1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5291F3
Deuteranopia (green-blind)
#4F8AEC
Tritanopia (blue-blind)
#6A96AC
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #897fef;
/* rgb */ color: rgb(137, 127, 239);
/* oklch */ color: oklch(65.6% 0.162 285.1);
Tailwind
colors: {
  custom: {
    50: '#b0a4f5',
    500: '#897fef',
    950: '#000000',
  },
}
SCSS
$custom: #897fef;
$custom-light: #b0a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#897fef",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 245.357,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65648,
    "c": 0.16244,
    "h": 285.1
  },
  "luminance": 0.26729
}

Semantic roles & 50–950 ramp

primary
#897FEF
secondary
#F1F3D7
accent
#DA0BC8
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#110F17
muted
#807F85

Preview Lab

Preview with #897FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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