#897CF7#897CF7

#897CF7 is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.6% C 0.177 H 285.2°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#897CF7
RGBrgb(137, 124, 247)
HSLhsl(246, 88%, 73%)
HSVhsv(246, 50%, 97%)
CMYKcmyk(44.5%, 49.8%, 0%, 3.1%)
CIE-LABlab(58.46, 35.06, -60.20)
CIE-LCHlch(58.46, 69.66, 300.21°)
OKLaboklab(65.6% 0.0465 -0.1711)
OKLCHoklch(65.6% 0.177 285.2)
XYZxyz(34.3078, 26.4476, 91.2749)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897CF7 #EAF77C
analogous
#7CADF7 #897CF7 #C67CF7
triadic
#897CF7 #F7897C #7CF789
tetradic
#897CF7 #F77CAD #EAF77C #7CF7C6
square
#897CF7 #F77CAD #EAF77C #7CF7C6
split-complementary
#897CF7 #F7C67C #ADF77C
monochromatic
#260EEA #5542F3 #897CF7 #BDB6FB #E5E2FD

Accessibility & contrast

On white

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

On black

6.29
#897CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897CF7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897CF7#FFFFFF#000000##000000
##897CF71.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4590FB
Deuteranopia (green-blind)
#4189F4
Tritanopia (blue-blind)
#6696AE
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #897cf7;
/* rgb */ color: rgb(137, 124, 247);
/* oklch */ color: oklch(65.6% 0.177 285.2);
Tailwind
colors: {
  custom: {
    50: '#b1a2fa',
    500: '#897cf7',
    950: '#000000',
  },
}
SCSS
$custom: #897cf7;
$custom-light: #b1a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#897cf7",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 246.341,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.65597,
    "c": 0.1773,
    "h": 285.2
  },
  "luminance": 0.26449
}

Semantic roles & 50–950 ramp

primary
#897CF7
secondary
#F2F5D6
accent
#E500CD
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #897CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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