#898EE7#898EE7

#898EE7 is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.0% C 0.130 H 279.9°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#898EE7
RGBrgb(137, 142, 231)
HSLhsl(237, 66%, 72%)
HSVhsv(237, 41%, 91%)
CMYKcmyk(40.7%, 38.5%, 0%, 9.4%)
CIE-LABlab(62.03, 20.04, -45.68)
CIE-LCHlch(62.03, 49.88, 293.69°)
OKLaboklab(68.03% 0.0224 -0.1285)
OKLCHoklch(68.03% 0.13 279.9)
XYZxyz(34.4091, 30.4324, 79.6468)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898EE7 #E7E289
analogous
#89BDE7 #898EE7 #B389E7
triadic
#898EE7 #E7898E #8EE789
tetradic
#898EE7 #E789BD #E7E289 #89E7B3
square
#898EE7 #E789BD #E7E289 #89E7B3
split-complementary
#898EE7 #E7B389 #BDE789
monochromatic
#2A32CC #565DDD #898EE7 #BCBFF1 #E6E7FA

Accessibility & contrast

On white

2.96
#898EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#898EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #898EE7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898EE7#FFFFFF#000000##000000
##898EE71.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F99EA
Deuteranopia (green-blind)
#6993E5
Tritanopia (blue-blind)
#6CA0AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #898ee7;
/* rgb */ color: rgb(137, 142, 231);
/* oklch */ color: oklch(68.0% 0.130 279.9);
Tailwind
colors: {
  custom: {
    50: '#afafef',
    500: '#898ee7',
    950: '#000000',
  },
}
SCSS
$custom: #898ee7;
$custom-light: #afafef;
$custom-dark: #000000;
JSON
{
  "hex": "#898ee7",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 236.809,
    "s": 66.197,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68025,
    "c": 0.13047,
    "h": 279.9
  },
  "luminance": 0.30434
}

Semantic roles & 50–950 ramp

primary
#898EE7
secondary
#F1F0DA
accent
#C417CE
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #898EE7

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

Preview Lab → · Contrast checker → · Palette generator →

#898EE7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva