#897FF7#897FF7

#897FF7 is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.1% C 0.173 H 284.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#897FF7
RGBrgb(137, 127, 247)
HSLhsl(245, 88%, 73%)
HSVhsv(245, 49%, 97%)
CMYKcmyk(44.5%, 48.6%, 0%, 3.1%)
CIE-LABlab(59.17, 33.31, -59.06)
CIE-LCHlch(59.17, 67.81, 299.42°)
OKLaboklab(66.13% 0.043 -0.1677)
OKLCHoklch(66.13% 0.173 284.4)
XYZxyz(34.6895, 27.2110, 91.4021)
Luminance0.2721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897FF7 #EDF77F
analogous
#7FB1F7 #897FF7 #C57FF7
triadic
#897FF7 #F7897F #7FF789
tetradic
#897FF7 #F77FB1 #EDF77F #7FF7C5
square
#897FF7 #F77FB1 #EDF77F #7FF7C5
split-complementary
#897FF7 #F7C57F #B1F77F
monochromatic
#210FED #5445F3 #897FF7 #BEB9FB #E4E2FD

Accessibility & contrast

On white

3.26
#897FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#897FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897FF7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897FF7#FFFFFF#000000##000000
##897FF71.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B92FB
Deuteranopia (green-blind)
#478BF4
Tritanopia (blue-blind)
#6698AF
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #897ff7;
/* rgb */ color: rgb(137, 127, 247);
/* oklch */ color: oklch(66.1% 0.173 284.4);
Tailwind
colors: {
  custom: {
    50: '#b1a4fa',
    500: '#897ff7',
    950: '#000000',
  },
}
SCSS
$custom: #897ff7;
$custom-light: #b1a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#897ff7",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 245,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.6613,
    "c": 0.17317,
    "h": 284.4
  },
  "luminance": 0.27213
}

Semantic roles & 50–950 ramp

primary
#897FF7
secondary
#F3F5D6
accent
#E501D2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#110F17
muted
#807F85

Preview Lab

Preview with #897FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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