#897DEB#897DEB

#897DEB is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.0% C 0.160 H 286.0°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#897DEB
RGBrgb(137, 125, 235)
HSLhsl(247, 73%, 71%)
HSVhsv(247, 47%, 92%)
CMYKcmyk(41.7%, 46.8%, 0%, 7.8%)
CIE-LABlab(58.02, 31.09, -54.25)
CIE-LCHlch(58.02, 62.53, 299.82°)
OKLaboklab(65.05% 0.0442 -0.1536)
OKLCHoklch(65.05% 0.16 286)
XYZxyz(32.6413, 25.9825, 81.8764)
Luminance0.2598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897DEB #DFEB7D
analogous
#7DA8EB #897DEB #C07DEB
triadic
#897DEB #EB897D #7DEB89
tetradic
#897DEB #EB7DA8 #DFEB7D #7DEBC0
square
#897DEB #EB7DA8 #DFEB7D #7DEBC0
split-complementary
#897DEB #EBC07D #A8EB7D
monochromatic
#3320CE #5948E3 #897DEB #B9B2F3 #E7E4FB

Accessibility & contrast

On white

3.39
#897DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#897DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897DEB
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897DEB#FFFFFF#000000##000000
##897DEB1.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#528EEF
Deuteranopia (green-blind)
#4F88E8
Tritanopia (blue-blind)
#6C93A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #897deb;
/* rgb */ color: rgb(137, 125, 235);
/* oklch */ color: oklch(65.0% 0.160 286.0);
Tailwind
colors: {
  custom: {
    50: '#b0a2f2',
    500: '#897deb',
    950: '#000000',
  },
}
SCSS
$custom: #897deb;
$custom-light: #b0a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#897deb",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 246.545,
    "s": 73.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65049,
    "c": 0.15985,
    "h": 286
  },
  "luminance": 0.25984
}

Semantic roles & 50–950 ramp

primary
#897DEB
secondary
#EEF1D3
accent
#D510C0
background
#FBFAFE
surface
#F6F3FD
border
#D0CDD5
text
#110F17
muted
#807F85

Preview Lab

Preview with #897DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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