#898EF6#898EF6

#898EF6 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.8% C 0.151 H 279.5°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#898EF6
RGBrgb(137, 142, 246)
HSLhsl(237, 86%, 75%)
HSVhsv(237, 44%, 96%)
CMYKcmyk(44.3%, 42.3%, 0%, 3.5%)
CIE-LABlab(62.77, 24.28, -52.77)
CIE-LCHlch(62.77, 58.09, 294.71°)
OKLaboklab(68.84% 0.0251 -0.1492)
OKLCHoklch(68.84% 0.151 279.5)
XYZxyz(36.6191, 31.3164, 91.2861)
Luminance0.3132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898EF6 #F6F189
analogous
#89C4F6 #898EF6 #BB89F6
triadic
#898EF6 #F6898E #8EF689
tetradic
#898EF6 #F689C4 #F6F189 #89F6BB
square
#898EF6 #F689C4 #F6F189 #89F6BB
split-complementary
#898EF6 #F6BB89 #C4F689
monochromatic
#1721ED #5058F2 #898EF6 #C2C4FA #E3E4FD

Accessibility & contrast

On white

2.89
#898EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#898EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #898EF6
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898EF6#FFFFFF#000000##000000
##898EF61.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFA
Deuteranopia (green-blind)
#5F94F4
Tritanopia (blue-blind)
#64A3B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #898ef6;
/* rgb */ color: rgb(137, 142, 246);
/* oklch */ color: oklch(68.8% 0.151 279.5);
Tailwind
colors: {
  custom: {
    50: '#b0aff9',
    500: '#898ef6',
    950: '#000000',
  },
}
SCSS
$custom: #898ef6;
$custom-light: #b0aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#898ef6",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 237.248,
    "s": 85.827,
    "l": 75.098
  },
  "oklch": {
    "l": 0.6884,
    "c": 0.15132,
    "h": 279.5
  },
  "luminance": 0.31318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #898EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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