#897CFC#897CFC

#897CFC is a light, vivid blue. Relative luminance 0.268; OKLCH L 65.9% C 0.184 H 284.8°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#897CFC
RGBrgb(137, 124, 252)
HSLhsl(246, 96%, 74%)
HSVhsv(246, 51%, 99%)
CMYKcmyk(45.6%, 50.8%, 0%, 1.2%)
CIE-LABlab(58.75, 36.48, -62.49)
CIE-LCHlch(58.75, 72.36, 300.28°)
OKLaboklab(65.91% 0.0469 -0.1778)
OKLCHoklch(65.91% 0.184 284.8)
XYZxyz(35.0897, 26.7604, 95.3929)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897CFC #EFFC7C
analogous
#7CAFFC #897CFC #C97CFC
triadic
#897CFC #FC897C #7CFC89
tetradic
#897CFC #FC7CAF #EFFC7C #7CFCC9
square
#897CFC #FC7CAF #EFFC7C #7CFCC9
split-complementary
#897CFC #FCC97C #AFFC7C
monochromatic
#1E06F8 #5340FB #897CFC #BFB8FD #E4E1FE

Accessibility & contrast

On white

3.31
#897CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#897CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897CFC
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897CFC#FFFFFF#000000##000000
##897CFC1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4091FF
Deuteranopia (green-blind)
#3B89F9
Tritanopia (blue-blind)
#6397B0
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #897cfc;
/* rgb */ color: rgb(137, 124, 252);
/* oklch */ color: oklch(65.9% 0.184 284.8);
Tailwind
colors: {
  custom: {
    50: '#b2a2fe',
    500: '#897cfc',
    950: '#000000',
  },
}
SCSS
$custom: #897cfc;
$custom-light: #b2a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#897cfc",
  "rgb": {
    "r": 137,
    "g": 124,
    "b": 252
  },
  "hsl": {
    "h": 246.094,
    "s": 95.522,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6591,
    "c": 0.1839,
    "h": 284.8
  },
  "luminance": 0.26762
}

Semantic roles & 50–950 ramp

primary
#897CFC
secondary
#F3F7D4
accent
#E600CE
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #897CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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