#897BEA#897BEA

#897BEA is a light, vivid blue. Relative luminance 0.254; OKLCH L 64.6% C 0.161 H 286.8°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#897BEA
RGBrgb(137, 123, 234)
HSLhsl(248, 73%, 70%)
HSVhsv(248, 47%, 92%)
CMYKcmyk(41.5%, 47.4%, 0%, 8.2%)
CIE-LABlab(57.49, 31.98, -54.55)
CIE-LCHlch(57.49, 63.23, 300.38°)
OKLaboklab(64.63% 0.0465 -0.1545)
OKLCHoklch(64.63% 0.161 286.8)
XYZxyz(32.2466, 25.4236, 81.0341)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897BEA #DCEA7B
analogous
#7BA4EA #897BEA #C17BEA
triadic
#897BEA #EA897B #7BEA89
tetradic
#897BEA #EA7BA4 #DCEA7B #7BEAC1
square
#897BEA #EA7BA4 #DCEA7B #7BEAC1
split-complementary
#897BEA #EAC17B #A4EA7B
monochromatic
#3620CA #5A46E2 #897BEA #B8B0F2 #E7E5FB

Accessibility & contrast

On white

3.45
#897BEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#897BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897BEA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897BEA#FFFFFF#000000##000000
##897BEA1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8DEE
Deuteranopia (green-blind)
#4D87E7
Tritanopia (blue-blind)
#6D92A7
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #897bea;
/* rgb */ color: rgb(137, 123, 234);
/* oklch */ color: oklch(64.6% 0.161 286.8);
Tailwind
colors: {
  custom: {
    50: '#b0a1f1',
    500: '#897bea',
    950: '#000000',
  },
}
SCSS
$custom: #897bea;
$custom-light: #b0a1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#897bea",
  "rgb": {
    "r": 137,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 247.568,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.64628,
    "c": 0.16135,
    "h": 286.8
  },
  "luminance": 0.25425
}

Semantic roles & 50–950 ramp

primary
#897BEA
secondary
#ECF0D1
accent
#D511BC
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #897BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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