#898EF5#898EF5

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

Color values

HEX#898EF5
RGBrgb(137, 142, 245)
HSLhsl(237, 84%, 75%)
HSVhsv(237, 44%, 96%)
CMYKcmyk(44.1%, 42%, 0%, 3.9%)
CIE-LABlab(62.72, 24.00, -52.30)
CIE-LCHlch(62.72, 57.54, 294.65°)
OKLaboklab(68.79% 0.0249 -0.1479)
OKLCHoklch(68.79% 0.15 279.6)
XYZxyz(36.4660, 31.2552, 90.4799)
Luminance0.3126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898EF5 #F5F089
analogous
#89C4F5 #898EF5 #BA89F5
triadic
#898EF5 #F5898E #8EF589
tetradic
#898EF5 #F589C4 #F5F089 #89F5BA
square
#898EF5 #F589C4 #F5F089 #89F5BA
split-complementary
#898EF5 #F5BA89 #C4F589
monochromatic
#1822EB #5158F0 #898EF5 #C1C4FA #E3E4FD

Accessibility & contrast

On white

2.90
#898EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#898EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #898EF5
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898EF5#FFFFFF#000000##000000
##898EF51.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#679CF9
Deuteranopia (green-blind)
#6094F3
Tritanopia (blue-blind)
#65A3B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #898ef5;
/* rgb */ color: rgb(137, 142, 245);
/* oklch */ color: oklch(68.8% 0.150 279.6);
Tailwind
colors: {
  custom: {
    50: '#b0aff9',
    500: '#898ef5',
    950: '#000000',
  },
}
SCSS
$custom: #898ef5;
$custom-light: #b0aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#898ef5",
  "rgb": {
    "r": 137,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 237.222,
    "s": 84.375,
    "l": 74.902
  },
  "oklch": {
    "l": 0.68785,
    "c": 0.14995,
    "h": 279.6
  },
  "luminance": 0.31257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #898EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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