#897EF4#897EF4

#897EF4 is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.8% C 0.171 H 284.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#897EF4
RGBrgb(137, 126, 244)
HSLhsl(246, 84%, 73%)
HSVhsv(246, 48%, 96%)
CMYKcmyk(43.9%, 48.4%, 0%, 4.3%)
CIE-LABlab(58.76, 33.04, -58.06)
CIE-LCHlch(58.76, 66.80, 299.65°)
OKLaboklab(65.77% 0.0439 -0.1648)
OKLCHoklch(65.77% 0.171 284.9)
XYZxyz(34.1018, 26.7703, 88.9408)
Luminance0.2677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897EF4 #E9F47E
analogous
#7EAEF4 #897EF4 #C47EF4
triadic
#897EF4 #F4897E #7EF489
tetradic
#897EF4 #F47EAE #E9F47E #7EF4C4
square
#897EF4 #F47EAE #E9F47E #7EF4C4
split-complementary
#897EF4 #F4C47E #AEF47E
monochromatic
#2713E4 #5546EF #897EF4 #BDB6F9 #E5E3FD

Accessibility & contrast

On white

3.30
#897EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#897EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897EF4
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897EF4#FFFFFF#000000##000000
##897EF41.003.306.356.35
#FFFFFF3.301.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C91F8
Deuteranopia (green-blind)
#488AF1
Tritanopia (blue-blind)
#6797AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #897ef4;
/* rgb */ color: rgb(137, 126, 244);
/* oklch */ color: oklch(65.8% 0.171 284.9);
Tailwind
colors: {
  custom: {
    50: '#b1a3f8',
    500: '#897ef4',
    950: '#000000',
  },
}
SCSS
$custom: #897ef4;
$custom-light: #b1a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#897ef4",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 245.593,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65768,
    "c": 0.17055,
    "h": 284.9
  },
  "luminance": 0.26772
}

Semantic roles & 50–950 ramp

primary
#897EF4
secondary
#F2F5D6
accent
#E105CC
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #897EF4

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

Preview Lab → · Contrast checker → · Palette generator →

#897EF4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva