#897BEC#897BEC

#897BEC is a light, vivid blue. Relative luminance 0.255; OKLCH L 64.7% C 0.164 H 286.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#897BEC
RGBrgb(137, 123, 236)
HSLhsl(247, 75%, 70%)
HSVhsv(247, 48%, 93%)
CMYKcmyk(41.9%, 47.9%, 0%, 7.5%)
CIE-LABlab(57.60, 32.54, -55.48)
CIE-LCHlch(57.60, 64.32, 300.39°)
OKLaboklab(64.75% 0.0467 -0.1572)
OKLCHoklch(64.75% 0.164 286.5)
XYZxyz(32.5355, 25.5392, 82.5559)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897BEC #DEEC7B
analogous
#7BA5EC #897BEC #C27BEC
triadic
#897BEC #EC897B #7BEC89
tetradic
#897BEC #EC7BA5 #DEEC7B #7BECC2
square
#897BEC #EC7BA5 #DEEC7B #7BECC2
split-complementary
#897BEC #ECC27B #A5EC7B
monochromatic
#341ECF #5946E4 #897BEC #B9B0F4 #E7E4FB

Accessibility & contrast

On white

3.44
#897BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#897BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897BEC
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897BEC#FFFFFF#000000##000000
##897BEC1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DF0
Deuteranopia (green-blind)
#4B87E9
Tritanopia (blue-blind)
#6C92A8
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #897bec;
/* rgb */ color: rgb(137, 123, 236);
/* oklch */ color: oklch(64.7% 0.164 286.5);
Tailwind
colors: {
  custom: {
    50: '#b0a1f3',
    500: '#897bec',
    950: '#000000',
  },
}
SCSS
$custom: #897bec;
$custom-light: #b0a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#897bec",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 236
  },
  "hsl": {
    "h": 247.434,
    "s": 74.834,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64748,
    "c": 0.16404,
    "h": 286.5
  },
  "luminance": 0.2554
}

Semantic roles & 50–950 ramp

primary
#897BEC
secondary
#EDF1D2
accent
#D70FBE
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #897BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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