#897FFA#897FFA

#897FFA is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.3% C 0.177 H 284.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#897FFA
RGBrgb(137, 127, 250)
HSLhsl(245, 92%, 74%)
HSVhsv(245, 49%, 98%)
CMYKcmyk(45.2%, 49.2%, 0%, 2%)
CIE-LABlab(59.34, 34.17, -60.45)
CIE-LCHlch(59.34, 69.44, 299.48°)
OKLaboklab(66.31% 0.0433 -0.1718)
OKLCHoklch(66.31% 0.177 284.1)
XYZxyz(35.1561, 27.3977, 93.8598)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897FFA #F0FA7F
analogous
#7FB3FA #897FFA #C77FFA
triadic
#897FFA #FA897F #7FFA89
tetradic
#897FFA #FA7FB3 #F0FA7F #7FFAC7
square
#897FFA #FA7FB3 #F0FA7F #7FFAC7
split-complementary
#897FFA #FAC77F #B3FA7F
monochromatic
#1D0AF5 #5344F8 #897FFA #BFBAFC #E4E2FE

Accessibility & contrast

On white

3.24
#897FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#897FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897FFA
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897FFA#FFFFFF#000000##000000
##897FFA1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4893FE
Deuteranopia (green-blind)
#438BF7
Tritanopia (blue-blind)
#6499B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #897ffa;
/* rgb */ color: rgb(137, 127, 250);
/* oklch */ color: oklch(66.3% 0.177 284.1);
Tailwind
colors: {
  custom: {
    50: '#b1a4fd',
    500: '#897ffa',
    950: '#000000',
  },
}
SCSS
$custom: #897ffa;
$custom-light: #b1a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#897ffa",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 244.878,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.66314,
    "c": 0.17717,
    "h": 284.1
  },
  "luminance": 0.27399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #897FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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