#897EFE#897EFE

#897EFE is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.4% C 0.184 H 284.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#897EFE
RGBrgb(137, 126, 254)
HSLhsl(245, 98%, 75%)
HSVhsv(245, 50%, 100%)
CMYKcmyk(46.1%, 50.4%, 0%, 0.4%)
CIE-LABlab(59.34, 35.90, -62.65)
CIE-LCHlch(59.34, 72.21, 299.81°)
OKLaboklab(66.39% 0.0448 -0.1783)
OKLCHoklch(66.39% 0.184 284.1)
XYZxyz(35.6615, 27.3942, 97.1553)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897EFE #F3FE7E
analogous
#7EB3FE #897EFE #C97EFE
triadic
#897EFE #FE897E #7EFE89
tetradic
#897EFE #FE7EB3 #F3FE7E #7EFEC9
square
#897EFE #FE7EB3 #F3FE7E #7EFEC9
split-complementary
#897EFE #FEC97E #B3FE7E
monochromatic
#1A05FD #5141FE #897EFE #C1BBFE #E3E1FF

Accessibility & contrast

On white

3.24
#897EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#897EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897EFE
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897EFE#FFFFFF#000000##000000
##897EFE1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4293FF
Deuteranopia (green-blind)
#3C8BFB
Tritanopia (blue-blind)
#629AB2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #897efe;
/* rgb */ color: rgb(137, 126, 254);
/* oklch */ color: oklch(66.4% 0.184 284.1);
Tailwind
colors: {
  custom: {
    50: '#b2a3ff',
    500: '#897efe',
    950: '#000000',
  },
}
SCSS
$custom: #897efe;
$custom-light: #b2a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#897efe",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 245.156,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.66386,
    "c": 0.18382,
    "h": 284.1
  },
  "luminance": 0.27396
}

Semantic roles & 50–950 ramp

primary
#897EFE
secondary
#F4F7D4
accent
#E600D2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #897EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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