#898CF7#898CF7

#898CF7 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.5% C 0.155 H 280.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#898CF7
RGBrgb(137, 140, 247)
HSLhsl(238, 87%, 75%)
HSVhsv(238, 45%, 97%)
CMYKcmyk(44.5%, 43.3%, 0%, 3.1%)
CIE-LABlab(62.33, 25.74, -54.03)
CIE-LCHlch(62.33, 59.84, 295.47°)
OKLaboklab(68.52% 0.0277 -0.1529)
OKLCHoklch(68.52% 0.155 280.2)
XYZxyz(36.4781, 30.7882, 91.9983)
Luminance0.3079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#898CF7 #F7F489
analogous
#89C3F7 #898CF7 #BD89F7
triadic
#898CF7 #F7898C #8CF789
tetradic
#898CF7 #F789C3 #F7F489 #89F7BD
square
#898CF7 #F789C3 #F7F489 #89F7BD
split-complementary
#898CF7 #F7BD89 #C3F789
monochromatic
#161CEF #5054F3 #898CF7 #C2C4FB #E2E3FD

Accessibility & contrast

On white

2.93
#898CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#898CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #898CF7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##898CF7#FFFFFF#000000##000000
##898CF71.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFB
Deuteranopia (green-blind)
#5B93F5
Tritanopia (blue-blind)
#64A2B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #898cf7;
/* rgb */ color: rgb(137, 140, 247);
/* oklch */ color: oklch(68.5% 0.155 280.2);
Tailwind
colors: {
  custom: {
    50: '#b1adfa',
    500: '#898cf7',
    950: '#000000',
  },
}
SCSS
$custom: #898cf7;
$custom-light: #b1adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#898cf7",
  "rgb": {
    "r": 137,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 238.364,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.68518,
    "c": 0.15539,
    "h": 280.2
  },
  "luminance": 0.3079
}

Semantic roles & 50–950 ramp

primary
#898CF7
secondary
#F5F4D6
accent
#DE02E4
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #898CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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