#897FC2#897FC2

#897FC2 is a light, moderate blue. Relative luminance 0.244; OKLCH L 63.2% C 0.100 H 290.1°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#897FC2
RGBrgb(137, 127, 194)
HSLhsl(249, 35%, 63%)
HSVhsv(249, 35%, 76%)
CMYKcmyk(29.4%, 34.5%, 0%, 23.9%)
CIE-LABlab(56.48, 18.86, -33.62)
CIE-LCHlch(56.48, 38.55, 299.29°)
OKLaboklab(63.21% 0.0342 -0.0936)
OKLCHoklch(63.21% 0.1 290.1)
XYZxyz(27.6410, 24.3916, 54.2802)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897FC2 #B8C27F
analogous
#7F96C2 #897FC2 #AA7FC2
triadic
#897FC2 #C2897F #7FC289
tetradic
#897FC2 #C27F96 #B8C27F #7FC2AA
square
#897FC2 #C27F96 #B8C27F #7FC2AA
split-complementary
#897FC2 #C2AA7F #96C27F
monochromatic
#4B4087 #6356AE #897FC2 #AFA8D6 #D5D2EA

Accessibility & contrast

On white

3.57
#897FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#897FC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897FC2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897FC2#FFFFFF#000000##000000
##897FC21.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C89C5
Deuteranopia (green-blind)
#6D86C0
Tritanopia (blue-blind)
#7C8B98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #897fc2;
/* rgb */ color: rgb(137, 127, 194);
/* oklch */ color: oklch(63.2% 0.100 290.1);
Tailwind
colors: {
  custom: {
    50: '#ada4d4',
    500: '#897fc2',
    950: '#000000',
  },
}
SCSS
$custom: #897fc2;
$custom-light: #ada4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#897fc2",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 194
  },
  "hsl": {
    "h": 248.955,
    "s": 35.45,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63211,
    "c": 0.09965,
    "h": 290.1
  },
  "luminance": 0.24392
}

Semantic roles & 50–950 ramp

primary
#897FC2
secondary
#D7DAC2
accent
#AE379D
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #897FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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