#897FED#897FED

#897FED is a light, vivid blue. Relative luminance 0.266; OKLCH L 65.5% C 0.160 H 285.2°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#897FED
RGBrgb(137, 127, 237)
HSLhsl(245, 75%, 71%)
HSVhsv(245, 46%, 93%)
CMYKcmyk(42.2%, 46.4%, 0%, 7.1%)
CIE-LABlab(58.61, 30.48, -54.42)
CIE-LCHlch(58.61, 62.37, 299.26°)
OKLaboklab(65.53% 0.042 -0.1541)
OKLCHoklch(65.53% 0.16 285.2)
XYZxyz(33.1876, 26.6102, 83.4920)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897FED #E3ED7F
analogous
#7FACED #897FED #C07FED
triadic
#897FED #ED897F #7FED89
tetradic
#897FED #ED7FAC #E3ED7F #7FEDC0
square
#897FED #ED7FAC #E3ED7F #7FEDC0
split-complementary
#897FED #EDC07F #ACED7F
monochromatic
#2E1ED4 #5849E5 #897FED #BAB5F5 #E6E4FB

Accessibility & contrast

On white

3.32
#897FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#897FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897FED
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897FED#FFFFFF#000000##000000
##897FED1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5490F1
Deuteranopia (green-blind)
#518AEA
Tritanopia (blue-blind)
#6B96AB
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #897fed;
/* rgb */ color: rgb(137, 127, 237);
/* oklch */ color: oklch(65.5% 0.160 285.2);
Tailwind
colors: {
  custom: {
    50: '#b0a4f3',
    500: '#897fed',
    950: '#000000',
  },
}
SCSS
$custom: #897fed;
$custom-light: #b0a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#897fed",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 245.455,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6553,
    "c": 0.15973,
    "h": 285.2
  },
  "luminance": 0.26612
}

Semantic roles & 50–950 ramp

primary
#897FED
secondary
#F0F2D6
accent
#D80EC5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #897FED

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

Preview Lab → · Contrast checker → · Palette generator →

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