#897CDC#897CDC

#897CDC is a light, vivid blue. Relative luminance 0.249; OKLCH L 64.0% C 0.141 H 288.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#897CDC
RGBrgb(137, 124, 220)
HSLhsl(248, 58%, 67%)
HSVhsv(248, 44%, 86%)
CMYKcmyk(37.7%, 43.6%, 0%, 13.7%)
CIE-LABlab(56.98, 27.52, -47.53)
CIE-LCHlch(56.98, 54.92, 300.08°)
OKLaboklab(64% 0.0434 -0.134)
OKLCHoklch(64% 0.141 288)
XYZxyz(30.4389, 24.9000, 70.8987)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897CDC #CFDC7C
analogous
#7C9FDC #897CDC #B97CDC
triadic
#897CDC #DC897C #7CDC89
tetradic
#897CDC #DC7C9F #CFDC7C #7CDCB9
square
#897CDC #DC7C9F #CFDC7C #7CDCB9
split-complementary
#897CDC #DCB97C #9FDC7C
monochromatic
#402FAF #5D4CCF #897CDC #B5ACE9 #E0DDF6

Accessibility & contrast

On white

3.51
#897CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#897CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897CDC
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897CDC#FFFFFF#000000##000000
##897CDC1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8BE0
Deuteranopia (green-blind)
#5A86DA
Tritanopia (blue-blind)
#738FA1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #897cdc;
/* rgb */ color: rgb(137, 124, 220);
/* oklch */ color: oklch(64.0% 0.141 288.0);
Tailwind
colors: {
  custom: {
    50: '#afa2e7',
    500: '#897cdc',
    950: '#000000',
  },
}
SCSS
$custom: #897cdc;
$custom-light: #afa2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#897cdc",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 220
  },
  "hsl": {
    "h": 248.125,
    "s": 57.831,
    "l": 67.451
  },
  "oklch": {
    "l": 0.64001,
    "c": 0.14082,
    "h": 288
  },
  "luminance": 0.24901
}

Semantic roles & 50–950 ramp

primary
#897CDC
secondary
#E5E9CB
accent
#C520AF
background
#FBF9FE
surface
#F6F2FC
border
#D0CCD5
text
#110F16
muted
#807E84

Preview Lab

Preview with #897CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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