#897FFD#897FFD

#897FFD is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.5% C 0.181 H 283.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#897FFD
RGBrgb(137, 127, 253)
HSLhsl(245, 97%, 75%)
HSVhsv(245, 50%, 99%)
CMYKcmyk(45.8%, 49.8%, 0%, 0.8%)
CIE-LABlab(59.51, 35.03, -61.82)
CIE-LCHlch(59.51, 71.05, 299.54°)
OKLaboklab(66.5% 0.0435 -0.1758)
OKLCHoklch(66.5% 0.181 283.9)
XYZxyz(35.6303, 27.5873, 96.3569)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897FFD #F3FD7F
analogous
#7FB4FD #897FFD #C87FFD
triadic
#897FFD #FD897F #7FFD89
tetradic
#897FFD #FD7FB4 #F3FD7F #7FFDC8
square
#897FFD #FD7FB4 #F3FD7F #7FFDC8
split-complementary
#897FFD #FDC87F #B4FD7F
monochromatic
#1A06FB #5143FC #897FFD #C1BBFE #E3E1FF

Accessibility & contrast

On white

3.22
#897FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#897FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897FFD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897FFD#FFFFFF#000000##000000
##897FFD1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#408BFA
Tritanopia (blue-blind)
#629AB2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #897ffd;
/* rgb */ color: rgb(137, 127, 253);
/* oklch */ color: oklch(66.5% 0.181 283.9);
Tailwind
colors: {
  custom: {
    50: '#b2a4ff',
    500: '#897ffd',
    950: '#000000',
  },
}
SCSS
$custom: #897ffd;
$custom-light: #b2a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#897ffd",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 244.762,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.665,
    "c": 0.18114,
    "h": 283.9
  },
  "luminance": 0.27589
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #897FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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