#8A97FE#8A97FE

#8A97FE is a light, vivid blue. Relative luminance 0.347; OKLCH L 71.1% C 0.150 H 276.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8A97FE
RGBrgb(138, 151, 254)
HSLhsl(233, 98%, 77%)
HSVhsv(233, 46%, 100%)
CMYKcmyk(45.7%, 40.6%, 0%, 0.4%)
CIE-LABlab(65.51, 21.59, -52.81)
CIE-LCHlch(65.51, 57.05, 292.23°)
OKLaboklab(71.08% 0.0168 -0.1493)
OKLCHoklch(71.08% 0.15 276.4)
XYZxyz(39.4317, 34.6901, 98.3648)
Luminance0.3469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97FE #FEF18A
analogous
#8AD1FE #8A97FE #B78AFE
triadic
#8A97FE #FE8A97 #97FE8A
tetradic
#8A97FE #FE8AD1 #FEF18A #8AFEB7
square
#8A97FE #FE8AD1 #FEF18A #8AFEB7
split-complementary
#8A97FE #FEB78A #D1FE8A
monochromatic
#112BFD #4D61FD #8A97FE #C7CDFF #E1E4FF

Accessibility & contrast

On white

2.65
#8A97FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#8A97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97FE
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97FE#FFFFFF#000000##000000
##8A97FE1.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#669BFC
Tritanopia (blue-blind)
#60ACBE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a97fe;
/* rgb */ color: rgb(138, 151, 254);
/* oklch */ color: oklch(71.1% 0.150 276.4);
Tailwind
colors: {
  custom: {
    50: '#b1b5ff',
    500: '#8a97fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a97fe;
$custom-light: #b1b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97fe",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 233.276,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71077,
    "c": 0.15023,
    "h": 276.4
  },
  "luminance": 0.34692
}

Semantic roles & 50–950 ramp

primary
#8A97FE
secondary
#F7F3D4
accent
#CC00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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