#897FFC#897FFC

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

Color values

HEX#897FFC
RGBrgb(137, 127, 252)
HSLhsl(245, 95%, 74%)
HSVhsv(245, 50%, 99%)
CMYKcmyk(45.6%, 49.6%, 0%, 1.2%)
CIE-LABlab(59.46, 34.74, -61.36)
CIE-LCHlch(59.46, 70.51, 299.52°)
OKLaboklab(66.44% 0.0435 -0.1745)
OKLCHoklch(66.44% 0.18 284)
XYZxyz(35.4714, 27.5238, 95.5202)
Luminance0.2752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897FFC #F2FC7F
analogous
#7FB4FC #897FFC #C87FFC
triadic
#897FFC #FC897F #7FFC89
tetradic
#897FFC #FC7FB4 #F2FC7F #7FFCC8
square
#897FFC #FC7FB4 #F2FC7F #7FFCC8
split-complementary
#897FFC #FCC87F #B4FC7F
monochromatic
#1B07F9 #5243FB #897FFC #C0BBFD #E3E1FE

Accessibility & contrast

On white

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

On black

6.50
#897FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897FFC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897FFC#FFFFFF#000000##000000
##897FFC1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#418BF9
Tritanopia (blue-blind)
#639AB2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #897ffc;
/* rgb */ color: rgb(137, 127, 252);
/* oklch */ color: oklch(66.4% 0.180 284.0);
Tailwind
colors: {
  custom: {
    50: '#b2a4fe',
    500: '#897ffc',
    950: '#000000',
  },
}
SCSS
$custom: #897ffc;
$custom-light: #b2a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#897ffc",
  "rgb": {
    "r": 137,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 244.8,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.66438,
    "c": 0.17982,
    "h": 284
  },
  "luminance": 0.27525
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #897FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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