#897BF2#897BF2

#897BF2 is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.1% C 0.172 H 285.9°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#897BF2
RGBrgb(137, 123, 242)
HSLhsl(247, 82%, 72%)
HSVhsv(247, 49%, 95%)
CMYKcmyk(43.4%, 49.2%, 0%, 5.1%)
CIE-LABlab(57.94, 34.22, -58.27)
CIE-LCHlch(57.94, 67.58, 300.43°)
OKLaboklab(65.11% 0.0473 -0.1654)
OKLCHoklch(65.11% 0.172 285.9)
XYZxyz(33.4219, 25.8937, 87.2242)
Luminance0.2590 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897BF2 #E4F27B
analogous
#7BA9F2 #897BF2 #C57BF2
triadic
#897BF2 #F2897B #7BF289
tetradic
#897BF2 #F27BA9 #E4F27B #7BF2C5
square
#897BF2 #F27BA9 #E4F27B #7BF2C5
split-complementary
#897BF2 #F2C57B #A9F27B
monochromatic
#2D16DD #5743ED #897BF2 #BBB3F7 #E6E3FC

Accessibility & contrast

On white

3.40
#897BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#897BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897BF2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897BF2#FFFFFF#000000##000000
##897BF21.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#488EF6
Deuteranopia (green-blind)
#4588EF
Tritanopia (blue-blind)
#6994AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #897bf2;
/* rgb */ color: rgb(137, 123, 242);
/* oklch */ color: oklch(65.1% 0.172 285.9);
Tailwind
colors: {
  custom: {
    50: '#b1a1f7',
    500: '#897bf2',
    950: '#000000',
  },
}
SCSS
$custom: #897bf2;
$custom-light: #b1a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#897bf2",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 247.059,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65112,
    "c": 0.17205,
    "h": 285.9
  },
  "luminance": 0.25895
}

Semantic roles & 50–950 ramp

primary
#897BF2
secondary
#F0F4D5
accent
#DE07C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #897BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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