#897AF2#897AF2

#897AF2 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.9% C 0.173 H 286.2°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#897AF2
RGBrgb(137, 122, 242)
HSLhsl(248, 82%, 71%)
HSVhsv(248, 50%, 95%)
CMYKcmyk(43.4%, 49.6%, 0%, 5.1%)
CIE-LABlab(57.70, 34.80, -58.65)
CIE-LCHlch(57.70, 68.20, 300.69°)
OKLaboklab(64.94% 0.0485 -0.1665)
OKLCHoklch(64.94% 0.173 286.2)
XYZxyz(33.2985, 25.6469, 87.1830)
Luminance0.2565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897AF2 #E3F27A
analogous
#7AA7F2 #897AF2 #C57AF2
triadic
#897AF2 #F2897A #7AF289
tetradic
#897AF2 #F27AA7 #E3F27A #7AF2C5
square
#897AF2 #F27AA7 #E3F27A #7AF2C5
split-complementary
#897AF2 #F2C57A #A7F27A
monochromatic
#2E16DC #5842ED #897AF2 #BAB2F7 #E6E3FC

Accessibility & contrast

On white

3.43
#897AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#897AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897AF2
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897AF2#FFFFFF#000000##000000
##897AF21.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#4487EF
Tritanopia (blue-blind)
#6993AB
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #897af2;
/* rgb */ color: rgb(137, 122, 242);
/* oklch */ color: oklch(64.9% 0.173 286.2);
Tailwind
colors: {
  custom: {
    50: '#b1a0f7',
    500: '#897af2',
    950: '#000000',
  },
}
SCSS
$custom: #897af2;
$custom-light: #b1a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#897af2",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 247.5,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64935,
    "c": 0.17345,
    "h": 286.2
  },
  "luminance": 0.25648
}

Semantic roles & 50–950 ramp

primary
#897AF2
secondary
#F0F3D4
accent
#DF07C4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #897AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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