#897AFE#897AFE

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

Color values

HEX#897AFE
RGBrgb(137, 122, 254)
HSLhsl(247, 99%, 74%)
HSVhsv(247, 52%, 100%)
CMYKcmyk(46.1%, 52%, 0%, 0.4%)
CIE-LABlab(58.41, 38.21, -64.15)
CIE-LCHlch(58.41, 74.66, 300.78°)
OKLaboklab(65.69% 0.0493 -0.1827)
OKLCHoklch(65.69% 0.189 285.1)
XYZxyz(35.1602, 26.3916, 96.9882)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897AFE #EFFE7A
analogous
#7AADFE #897AFE #CB7AFE
triadic
#897AFE #FE897A #7AFE89
tetradic
#897AFE #FE7AAD #EFFE7A #7AFECB
square
#897AFE #FE7AAD #EFFE7A #7AFECB
split-complementary
#897AFE #FECB7A #ADFE7A
monochromatic
#1E02FC #533DFE #897AFE #BFB7FE #E4E1FF

Accessibility & contrast

On white

3.34
#897AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#897AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897AFE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897AFE#FFFFFF#000000##000000
##897AFE1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#3388FB
Tritanopia (blue-blind)
#6297B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #897afe;
/* rgb */ color: rgb(137, 122, 254);
/* oklch */ color: oklch(65.7% 0.189 285.1);
Tailwind
colors: {
  custom: {
    50: '#b2a0ff',
    500: '#897afe',
    950: '#000000',
  },
}
SCSS
$custom: #897afe;
$custom-light: #b2a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#897afe",
  "rgb": {
    "r": 137,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 246.818,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65691,
    "c": 0.18923,
    "h": 285.1
  },
  "luminance": 0.26393
}

Semantic roles & 50–950 ramp

primary
#897AFE
secondary
#F3F7D4
accent
#E600CB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #897AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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