#898DFE#898DFE

#898DFE is a light, vivid blue. Relative luminance 0.315; OKLCH L 69.1% C 0.164 H 279.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#898DFE
RGBrgb(137, 141, 254)
HSLhsl(238, 98%, 77%)
HSVhsv(238, 46%, 100%)
CMYKcmyk(46.1%, 44.5%, 0%, 0.4%)
CIE-LABlab(62.95, 27.17, -56.88)
CIE-LCHlch(62.95, 63.04, 295.53°)
OKLaboklab(69.11% 0.0275 -0.1613)
OKLCHoklch(69.11% 0.164 279.7)
XYZxyz(37.7254, 31.5219, 97.8432)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898DFE #FEFA89
analogous
#89C8FE #898DFE #C089FE
triadic
#898DFE #FE898D #8DFE89
tetradic
#898DFE #FE89C8 #FEFA89 #89FEC0
square
#898DFE #FE89C8 #FEFA89 #89FEC0
split-complementary
#898DFE #FEC089 #C8FE89
monochromatic
#1018FD #4C52FD #898DFE #C6C8FF #E1E2FF

Accessibility & contrast

On white

2.87
#898DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#898DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #898DFE
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898DFE#FFFFFF#000000##000000
##898DFE1.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#5794FB
Tritanopia (blue-blind)
#60A5B9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #898dfe;
/* rgb */ color: rgb(137, 141, 254);
/* oklch */ color: oklch(69.1% 0.164 279.7);
Tailwind
colors: {
  custom: {
    50: '#b1aeff',
    500: '#898dfe',
    950: '#000000',
  },
}
SCSS
$custom: #898dfe;
$custom-light: #b1aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#898dfe",
  "rgb": {
    "r": 137,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 237.949,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.69108,
    "c": 0.16361,
    "h": 279.7
  },
  "luminance": 0.31524
}

Semantic roles & 50–950 ramp

primary
#898DFE
secondary
#F7F6D4
accent
#DE00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #898DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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