#8E97FF#8E97FF

#8E97FF is a light, vivid blue. Relative luminance 0.351; OKLCH L 71.4% C 0.151 H 278.1°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8E97FF
RGBrgb(142, 151, 255)
HSLhsl(235, 100%, 78%)
HSVhsv(235, 44%, 100%)
CMYKcmyk(44.3%, 40.8%, 0%, 0%)
CIE-LABlab(65.83, 22.82, -52.83)
CIE-LCHlch(65.83, 57.55, 293.36°)
OKLaboklab(71.41% 0.0213 -0.1492)
OKLCHoklch(71.41% 0.151 278.1)
XYZxyz(40.2665, 35.1020, 99.2420)
Luminance0.3510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E97FF #FFF68E
analogous
#8ED0FF #8E97FF #BD8EFF
triadic
#8E97FF #FF8E97 #97FF8E
tetradic
#8E97FF #FF8ED0 #FFF68E #8EFFBD
square
#8E97FF #FF8ED0 #FFF68E #8EFFBD
split-complementary
#8E97FF #FFBD8E #D0FF8E
monochromatic
#1426FF #515FFF #8E97FF #CBCFFF #E0E3FF

Accessibility & contrast

On white

2.62
#8E97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#8E97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E97FF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E97FF#FFFFFF#000000##000000
##8E97FF1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#689CFD
Tritanopia (blue-blind)
#68ACBF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8e97ff;
/* rgb */ color: rgb(142, 151, 255);
/* oklch */ color: oklch(71.4% 0.151 278.1);
Tailwind
colors: {
  custom: {
    50: '#b4b5ff',
    500: '#8e97ff',
    950: '#000000',
  },
}
SCSS
$custom: #8e97ff;
$custom-light: #b4b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8e97ff",
  "rgb": {
    "r": 142,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 235.221,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.71408,
    "c": 0.15076,
    "h": 278.1
  },
  "luminance": 0.35104
}

Semantic roles & 50–950 ramp

primary
#8E97FF
secondary
#F7F5D4
accent
#D300E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8E97FF

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

Preview Lab → · Contrast checker → · Palette generator →

#8E97FF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva