#897BF7#897BF7

#897BF7 is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.4% C 0.179 H 285.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#897BF7
RGBrgb(137, 123, 247)
HSLhsl(247, 89%, 73%)
HSVhsv(247, 50%, 97%)
CMYKcmyk(44.5%, 50.2%, 0%, 3.1%)
CIE-LABlab(58.22, 35.64, -60.58)
CIE-LCHlch(58.22, 70.28, 300.47°)
OKLaboklab(65.42% 0.0477 -0.1722)
OKLCHoklch(65.42% 0.179 285.5)
XYZxyz(34.1831, 26.1982, 91.2333)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897BF7 #E9F77B
analogous
#7BABF7 #897BF7 #C77BF7
triadic
#897BF7 #F7897B #7BF789
tetradic
#897BF7 #F77BAB #E9F77B #7BF7C7
square
#897BF7 #F77BAB #E9F77B #7BF7C7
split-complementary
#897BF7 #F7C77B #ABF77B
monochromatic
#270EE9 #5541F4 #897BF7 #BDB5FA #E5E2FD

Accessibility & contrast

On white

3.37
#897BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#897BF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897BF7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897BF7#FFFFFF#000000##000000
##897BF71.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FFB
Deuteranopia (green-blind)
#3F88F4
Tritanopia (blue-blind)
#6695AE
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #897bf7;
/* rgb */ color: rgb(137, 123, 247);
/* oklch */ color: oklch(65.4% 0.179 285.5);
Tailwind
colors: {
  custom: {
    50: '#b1a1fa',
    500: '#897bf7',
    950: '#000000',
  },
}
SCSS
$custom: #897bf7;
$custom-light: #b1a1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#897bf7",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 246.774,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65421,
    "c": 0.17868,
    "h": 285.5
  },
  "luminance": 0.262
}

Semantic roles & 50–950 ramp

primary
#897BF7
secondary
#F2F5D6
accent
#E500CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #897BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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