#897DEF#897DEF

#897DEF is a light, vivid blue. Relative luminance 0.262; OKLCH L 65.3% C 0.165 H 285.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#897DEF
RGBrgb(137, 125, 239)
HSLhsl(246, 78%, 71%)
HSVhsv(246, 48%, 94%)
CMYKcmyk(42.7%, 47.7%, 0%, 6.3%)
CIE-LABlab(58.24, 32.21, -56.12)
CIE-LCHlch(58.24, 64.71, 299.86°)
OKLaboklab(65.29% 0.0446 -0.1591)
OKLCHoklch(65.29% 0.165 285.7)
XYZxyz(33.2257, 26.2163, 84.9542)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897DEF #E3EF7D
analogous
#7DAAEF #897DEF #C27DEF
triadic
#897DEF #EF897D #7DEF89
tetradic
#897DEF #EF7DAA #E3EF7D #7DEFC2
square
#897DEF #EF7DAA #E3EF7D #7DEFC2
split-complementary
#897DEF #EFC27D #AAEF7D
monochromatic
#2E1AD7 #5847E8 #897DEF #BAB3F6 #E6E4FC

Accessibility & contrast

On white

3.36
#897DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#897DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897DEF
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897DEF#FFFFFF#000000##000000
##897DEF1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF3
Deuteranopia (green-blind)
#4C89EC
Tritanopia (blue-blind)
#6A95AB
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #897def;
/* rgb */ color: rgb(137, 125, 239);
/* oklch */ color: oklch(65.3% 0.165 285.7);
Tailwind
colors: {
  custom: {
    50: '#b0a2f5',
    500: '#897def',
    950: '#000000',
  },
}
SCSS
$custom: #897def;
$custom-light: #b0a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#897def",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 239
  },
  "hsl": {
    "h": 246.316,
    "s": 78.082,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65287,
    "c": 0.16525,
    "h": 285.7
  },
  "luminance": 0.26218
}

Semantic roles & 50–950 ramp

primary
#897DEF
secondary
#F0F3D5
accent
#DA0BC5
background
#FBFAFF
surface
#F6F3FE
border
#D0CDD6
text
#110F17
muted
#807F85

Preview Lab

Preview with #897DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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