#897EFD#897EFD

#897EFD is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.3% C 0.182 H 284.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#897EFD
RGBrgb(137, 126, 253)
HSLhsl(245, 97%, 74%)
HSVhsv(245, 50%, 99%)
CMYKcmyk(45.8%, 50.2%, 0%, 0.8%)
CIE-LABlab(59.28, 35.61, -62.20)
CIE-LCHlch(59.28, 71.67, 299.79°)
OKLaboklab(66.32% 0.0447 -0.1769)
OKLCHoklch(66.32% 0.183 284.2)
XYZxyz(35.5018, 27.3303, 96.3141)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897EFD #F2FD7E
analogous
#7EB3FD #897EFD #C97EFD
triadic
#897EFD #FD897E #7EFD89
tetradic
#897EFD #FD7EB3 #F2FD7E #7EFDC9
square
#897EFD #FD7EB3 #F2FD7E #7EFDC9
split-complementary
#897EFD #FDC97E #B3FD7E
monochromatic
#1B05FB #5242FC #897EFD #C0BAFE #E3E1FF

Accessibility & contrast

On white

3.25
#897EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#897EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897EFD
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897EFD#FFFFFF#000000##000000
##897EFD1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#3E8BFA
Tritanopia (blue-blind)
#6299B2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #897efd;
/* rgb */ color: rgb(137, 126, 253);
/* oklch */ color: oklch(66.3% 0.182 284.2);
Tailwind
colors: {
  custom: {
    50: '#b2a3ff',
    500: '#897efd',
    950: '#000000',
  },
}
SCSS
$custom: #897efd;
$custom-light: #b2a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#897efd",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 245.197,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.66324,
    "c": 0.1825,
    "h": 284.2
  },
  "luminance": 0.27332
}

Semantic roles & 50–950 ramp

primary
#897EFD
secondary
#F4F7D4
accent
#E600D2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F18
muted
#807F86

Preview Lab

Preview with #897EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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