#897EFC#897EFC

#897EFC is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.3% C 0.181 H 284.3°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#897EFC
RGBrgb(137, 126, 252)
HSLhsl(245, 95%, 74%)
HSVhsv(245, 50%, 99%)
CMYKcmyk(45.6%, 50%, 0%, 1.2%)
CIE-LABlab(59.22, 35.32, -61.74)
CIE-LCHlch(59.22, 71.13, 299.78°)
OKLaboklab(66.26% 0.0446 -0.1756)
OKLCHoklch(66.26% 0.181 284.3)
XYZxyz(35.3429, 27.2667, 95.4773)
Luminance0.2727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#897EFC #F1FC7E
analogous
#7EB2FC #897EFC #C87EFC
triadic
#897EFC #FC897E #7EFC89
tetradic
#897EFC #FC7EB2 #F1FC7E #7EFCC8
square
#897EFC #FC7EB2 #F1FC7E #7EFCC8
split-complementary
#897EFC #FCC87E #B2FC7E
monochromatic
#1C06F9 #5242FB #897EFC #C0BAFD #E4E1FE

Accessibility & contrast

On white

3.25
#897EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#897EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #897EFC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##897EFC#FFFFFF#000000##000000
##897EFC1.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4492FF
Deuteranopia (green-blind)
#3F8BF9
Tritanopia (blue-blind)
#6399B1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #897efc;
/* rgb */ color: rgb(137, 126, 252);
/* oklch */ color: oklch(66.3% 0.181 284.3);
Tailwind
colors: {
  custom: {
    50: '#b2a3fe',
    500: '#897efc',
    950: '#000000',
  },
}
SCSS
$custom: #897efc;
$custom-light: #b2a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#897efc",
  "rgb": {
    "r": 137,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 245.238,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66261,
    "c": 0.18118,
    "h": 284.3
  },
  "luminance": 0.27268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #897EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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