#897DF5#897DF5

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

Color values

HEX#897DF5
RGBrgb(137, 125, 245)
HSLhsl(246, 86%, 73%)
HSVhsv(246, 49%, 96%)
CMYKcmyk(44.1%, 49%, 0%, 3.9%)
CIE-LABlab(58.58, 33.91, -58.90)
CIE-LCHlch(58.58, 67.96, 299.93°)
OKLaboklab(65.65% 0.0452 -0.1673)
OKLCHoklch(65.65% 0.173 285.1)
XYZxyz(34.1268, 26.5767, 89.7002)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897DF5 #E9F57D
analogous
#7DADF5 #897DF5 #C57DF5
triadic
#897DF5 #F5897D #7DF589
tetradic
#897DF5 #F57DAD #E9F57D #7DF5C5
square
#897DF5 #F57DAD #E9F57D #7DF5C5
split-complementary
#897DF5 #F5C57D #ADF57D
monochromatic
#2712E6 #5544F1 #897DF5 #BDB6F9 #E5E3FD

Accessibility & contrast

On white

3.33
#897DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##897DF5#FFFFFF#000000##000000
##897DF51.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4990F9
Deuteranopia (green-blind)
#4589F2
Tritanopia (blue-blind)
#6796AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #897df5;
/* rgb */ color: rgb(137, 125, 245);
/* oklch */ color: oklch(65.7% 0.173 285.1);
Tailwind
colors: {
  custom: {
    50: '#b1a3f9',
    500: '#897df5',
    950: '#000000',
  },
}
SCSS
$custom: #897df5;
$custom-light: #b1a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#897df5",
  "rgb": {
    "r": 137,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 246,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65651,
    "c": 0.17327,
    "h": 285.1
  },
  "luminance": 0.26578
}

Semantic roles & 50–950 ramp

primary
#897DF5
secondary
#F2F5D6
accent
#E203CC
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #897DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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