#897EEC#897EEC

#897EEC is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.3% C 0.160 H 285.6°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#897EEC
RGBrgb(137, 126, 236)
HSLhsl(246, 74%, 71%)
HSVhsv(246, 47%, 93%)
CMYKcmyk(41.9%, 46.6%, 0%, 7.5%)
CIE-LABlab(58.32, 30.79, -54.33)
CIE-LCHlch(58.32, 62.45, 299.54°)
OKLaboklab(65.29% 0.0431 -0.1539)
OKLCHoklch(65.29% 0.16 285.6)
XYZxyz(32.9134, 26.2949, 82.6819)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897EEC #E1EC7E
analogous
#7EAAEC #897EEC #C07EEC
triadic
#897EEC #EC897E #7EEC89
tetradic
#897EEC #EC7EAA #E1EC7E #7EECC0
square
#897EEC #EC7EAA #E1EC7E #7EECC0
split-complementary
#897EEC #ECC07E #AAEC7E
monochromatic
#311FD1 #5849E4 #897EEC #BAB3F4 #E7E4FB

Accessibility & contrast

On white

3.36
#897EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#897EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897EEC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897EEC#FFFFFF#000000##000000
##897EEC1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#538FF0
Deuteranopia (green-blind)
#5089E9
Tritanopia (blue-blind)
#6B95AA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #897eec;
/* rgb */ color: rgb(137, 126, 236);
/* oklch */ color: oklch(65.3% 0.160 285.6);
Tailwind
colors: {
  custom: {
    50: '#b0a3f3',
    500: '#897eec',
    950: '#000000',
  },
}
SCSS
$custom: #897eec;
$custom-light: #b0a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#897eec",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 246,
    "s": 74.324,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65289,
    "c": 0.15978,
    "h": 285.6
  },
  "luminance": 0.26296
}

Semantic roles & 50–950 ramp

primary
#897EEC
secondary
#EFF2D4
accent
#D60FC3
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #897EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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