#897FFB#897FFB

#897FFB is a light, vivid blue. Relative luminance 0.275; OKLCH L 66.4% C 0.178 H 284.1°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#897FFB
RGBrgb(137, 127, 251)
HSLhsl(245, 94%, 74%)
HSVhsv(245, 49%, 98%)
CMYKcmyk(45.4%, 49.4%, 0%, 1.6%)
CIE-LABlab(59.40, 34.46, -60.90)
CIE-LCHlch(59.40, 69.98, 299.50°)
OKLaboklab(66.38% 0.0434 -0.1731)
OKLCHoklch(66.38% 0.178 284.1)
XYZxyz(35.3134, 27.4605, 94.6878)
Luminance0.2746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897FFB #F1FB7F
analogous
#7FB3FB #897FFB #C77FFB
triadic
#897FFB #FB897F #7FFB89
tetradic
#897FFB #FB7FB3 #F1FB7F #7FFBC7
square
#897FFB #FB7FB3 #F1FB7F #7FFBC7
split-complementary
#897FFB #FBC77F #B3FB7F
monochromatic
#1C08F7 #5244F9 #897FFB #C0BAFD #E4E1FE

Accessibility & contrast

On white

3.23
#897FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#897FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897FFB
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897FFB#FFFFFF#000000##000000
##897FFB1.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#428BF8
Tritanopia (blue-blind)
#6399B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #897ffb;
/* rgb */ color: rgb(137, 127, 251);
/* oklch */ color: oklch(66.4% 0.178 284.1);
Tailwind
colors: {
  custom: {
    50: '#b1a4fd',
    500: '#897ffb',
    950: '#000000',
  },
}
SCSS
$custom: #897ffb;
$custom-light: #b1a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#897ffb",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 244.839,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66376,
    "c": 0.17849,
    "h": 284.1
  },
  "luminance": 0.27462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #897FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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