#897EF8#897EF8

#897EF8 is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.0% C 0.176 H 284.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#897EF8
RGBrgb(137, 126, 248)
HSLhsl(245, 90%, 73%)
HSVhsv(245, 49%, 97%)
CMYKcmyk(44.8%, 49.2%, 0%, 2.7%)
CIE-LABlab(58.99, 34.18, -59.91)
CIE-LCHlch(58.99, 68.97, 299.71°)
OKLaboklab(66.01% 0.0443 -0.1702)
OKLCHoklch(66.01% 0.176 284.6)
XYZxyz(34.7157, 27.0159, 92.1741)
Luminance0.2702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897EF8 #EDF87E
analogous
#7EB0F8 #897EF8 #C67EF8
triadic
#897EF8 #F8897E #7EF889
tetradic
#897EF8 #F87EB0 #EDF87E #7EF8C6
square
#897EF8 #F87EB0 #EDF87E #7EF8C6
split-complementary
#897EF8 #F8C67E #B0F87E
monochromatic
#210DEF #5444F5 #897EF8 #BEB8FB #E4E2FD

Accessibility & contrast

On white

3.28
#897EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#897EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897EF8
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897EF8#FFFFFF#000000##000000
##897EF81.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4892FC
Deuteranopia (green-blind)
#448AF5
Tritanopia (blue-blind)
#6598AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #897ef8;
/* rgb */ color: rgb(137, 126, 248);
/* oklch */ color: oklch(66.0% 0.176 284.6);
Tailwind
colors: {
  custom: {
    50: '#b1a3fb',
    500: '#897ef8',
    950: '#000000',
  },
}
SCSS
$custom: #897ef8;
$custom-light: #b1a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#897ef8",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 245.41,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66013,
    "c": 0.17589,
    "h": 284.6
  },
  "luminance": 0.27017
}

Semantic roles & 50–950 ramp

primary
#897EF8
secondary
#F3F6D5
accent
#E600D1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #897EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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