#897EEE#897EEE

#897EEE is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.4% C 0.162 H 285.5°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#897EEE
RGBrgb(137, 126, 238)
HSLhsl(246, 77%, 71%)
HSVhsv(246, 47%, 93%)
CMYKcmyk(42.4%, 47.1%, 0%, 6.7%)
CIE-LABlab(58.43, 31.35, -55.27)
CIE-LCHlch(58.43, 63.54, 299.56°)
OKLaboklab(65.41% 0.0433 -0.1566)
OKLCHoklch(65.41% 0.162 285.5)
XYZxyz(33.2056, 26.4118, 84.2207)
Luminance0.2641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897EEE #E3EE7E
analogous
#7EABEE #897EEE #C17EEE
triadic
#897EEE #EE897E #7EEE89
tetradic
#897EEE #EE7EAB #E3EE7E #7EEEC1
square
#897EEE #EE7EAB #E3EE7E #7EEEC1
split-complementary
#897EEE #EEC17E #ABEE7E
monochromatic
#2E1CD5 #5848E7 #897EEE #BAB4F5 #E6E4FB

Accessibility & contrast

On white

3.34
#897EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#897EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897EEE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897EEE#FFFFFF#000000##000000
##897EEE1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5190F2
Deuteranopia (green-blind)
#4E89EB
Tritanopia (blue-blind)
#6A95AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #897eee;
/* rgb */ color: rgb(137, 126, 238);
/* oklch */ color: oklch(65.4% 0.162 285.5);
Tailwind
colors: {
  custom: {
    50: '#b0a3f4',
    500: '#897eee',
    950: '#000000',
  },
}
SCSS
$custom: #897eee;
$custom-light: #b0a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#897eee",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 245.893,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65408,
    "c": 0.16249,
    "h": 285.5
  },
  "luminance": 0.26413
}

Semantic roles & 50–950 ramp

primary
#897EEE
secondary
#F0F2D5
accent
#D90DC5
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #897EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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