#897DEC#897DEC

#897DEC is a light, vivid blue. Relative luminance 0.260; OKLCH L 65.1% C 0.161 H 285.9°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#897DEC
RGBrgb(137, 125, 236)
HSLhsl(246, 74%, 71%)
HSVhsv(246, 47%, 93%)
CMYKcmyk(41.9%, 47%, 0%, 7.5%)
CIE-LABlab(58.08, 31.37, -54.72)
CIE-LCHlch(58.08, 63.07, 299.83°)
OKLaboklab(65.11% 0.0443 -0.155)
OKLCHoklch(65.11% 0.161 285.9)
XYZxyz(32.7861, 26.0405, 82.6394)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897DEC #E0EC7D
analogous
#7DA8EC #897DEC #C07DEC
triadic
#897DEC #EC897D #7DEC89
tetradic
#897DEC #EC7DA8 #E0EC7D #7DECC0
square
#897DEC #EC7DA8 #E0EC7D #7DECC0
split-complementary
#897DEC #ECC07D #A8EC7D
monochromatic
#321ED0 #5948E4 #897DEC #B9B2F4 #E7E4FB

Accessibility & contrast

On white

3.38
#897DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#897DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897DEC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897DEC#FFFFFF#000000##000000
##897DEC1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF0
Deuteranopia (green-blind)
#4E88E9
Tritanopia (blue-blind)
#6B94A9
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #897dec;
/* rgb */ color: rgb(137, 125, 236);
/* oklch */ color: oklch(65.1% 0.161 285.9);
Tailwind
colors: {
  custom: {
    50: '#b0a2f3',
    500: '#897dec',
    950: '#000000',
  },
}
SCSS
$custom: #897dec;
$custom-light: #b0a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#897dec",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 246.486,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.65108,
    "c": 0.1612,
    "h": 285.9
  },
  "luminance": 0.26042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #897DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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