#898FF5#898FF5

#898FF5 is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.0% C 0.149 H 279.2°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#898FF5
RGBrgb(137, 143, 245)
HSLhsl(237, 84%, 75%)
HSVhsv(237, 44%, 96%)
CMYKcmyk(44.1%, 41.6%, 0%, 3.9%)
CIE-LABlab(62.97, 23.41, -51.90)
CIE-LCHlch(62.97, 56.94, 294.28°)
OKLaboklab(68.97% 0.0237 -0.1467)
OKLCHoklch(68.97% 0.149 279.2)
XYZxyz(36.6155, 31.5541, 90.5297)
Luminance0.3156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898FF5 #F5EF89
analogous
#89C5F5 #898FF5 #B989F5
triadic
#898FF5 #F5898F #8FF589
tetradic
#898FF5 #F589C5 #F5EF89 #89F5B9
square
#898FF5 #F589C5 #F5EF89 #89F5B9
split-complementary
#898FF5 #F5B989 #C5F589
monochromatic
#1824EB #5159F0 #898FF5 #C1C5FA #E3E4FD

Accessibility & contrast

On white

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

On black

7.31
#898FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #898FF5
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898FF5#FFFFFF#000000##000000
##898FF51.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DF9
Deuteranopia (green-blind)
#6194F3
Tritanopia (blue-blind)
#65A4B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #898ff5;
/* rgb */ color: rgb(137, 143, 245);
/* oklch */ color: oklch(69.0% 0.149 279.2);
Tailwind
colors: {
  custom: {
    50: '#b0aff9',
    500: '#898ff5',
    950: '#000000',
  },
}
SCSS
$custom: #898ff5;
$custom-light: #b0aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#898ff5",
  "rgb": {
    "r": 137,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 236.667,
    "s": 84.375,
    "l": 74.902
  },
  "oklch": {
    "l": 0.68975,
    "c": 0.1486,
    "h": 279.2
  },
  "luminance": 0.31556
}

Semantic roles & 50–950 ramp

primary
#898FF5
secondary
#F5F3D6
accent
#D505E1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #898FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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