#898BFA#898BFA

#898BFA is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.5% C 0.161 H 280.5°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#898BFA
RGBrgb(137, 139, 250)
HSLhsl(239, 92%, 76%)
HSVhsv(239, 45%, 98%)
CMYKcmyk(45.2%, 44.4%, 0%, 2%)
CIE-LABlab(62.24, 27.18, -55.82)
CIE-LCHlch(62.24, 62.08, 295.96°)
OKLaboklab(68.5% 0.0293 -0.1582)
OKLCHoklch(68.5% 0.161 280.5)
XYZxyz(36.7993, 30.6839, 94.4075)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898BFA #FAF889
analogous
#89C3FA #898BFA #BF89FA
triadic
#898BFA #FA898B #8BFA89
tetradic
#898BFA #FA89C3 #FAF889 #89FABF
square
#898BFA #FA89C3 #FAF889 #89FABF
split-complementary
#898BFA #FABF89 #C3FA89
monochromatic
#1418F5 #4E51F8 #898BFA #C4C5FC #E2E2FE

Accessibility & contrast

On white

2.94
#898BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#898BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #898BFA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898BFA#FFFFFF#000000##000000
##898BFA1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#5792F7
Tritanopia (blue-blind)
#62A2B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #898bfa;
/* rgb */ color: rgb(137, 139, 250);
/* oklch */ color: oklch(68.5% 0.161 280.5);
Tailwind
colors: {
  custom: {
    50: '#b1acfc',
    500: '#898bfa',
    950: '#000000',
  },
}
SCSS
$custom: #898bfa;
$custom-light: #b1acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#898bfa",
  "rgb": {
    "r": 137,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 238.938,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.68503,
    "c": 0.16085,
    "h": 280.5
  },
  "luminance": 0.30686
}

Semantic roles & 50–950 ramp

primary
#898BFA
secondary
#F6F5D5
accent
#E100E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #898BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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