#8A97FB#8A97FB

#8A97FB is a light, vivid blue. Relative luminance 0.345; OKLCH L 70.9% C 0.146 H 276.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8A97FB
RGBrgb(138, 151, 251)
HSLhsl(233, 93%, 76%)
HSVhsv(233, 45%, 98%)
CMYKcmyk(45%, 39.8%, 0%, 1.6%)
CIE-LABlab(65.36, 20.73, -51.41)
CIE-LCHlch(65.36, 55.43, 291.96°)
OKLaboklab(70.91% 0.0163 -0.1452)
OKLCHoklch(70.91% 0.146 276.4)
XYZxyz(38.9551, 34.4995, 95.8545)
Luminance0.3450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97FB #FBEE8A
analogous
#8AD0FB #8A97FB #B68AFB
triadic
#8A97FB #FB8A97 #97FB8A
tetradic
#8A97FB #FB8AD0 #FBEE8A #8AFBB6
square
#8A97FB #FB8AD0 #FBEE8A #8AFBB6
split-complementary
#8A97FB #FBB68A #D0FB8A
monochromatic
#142EF7 #4F62F9 #8A97FB #C5CCFD #E1E5FE

Accessibility & contrast

On white

2.66
#8A97FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#8A97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97FB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97FB#FFFFFF#000000##000000
##8A97FB1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FF
Deuteranopia (green-blind)
#689AF9
Tritanopia (blue-blind)
#62ACBD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a97fb;
/* rgb */ color: rgb(138, 151, 251);
/* oklch */ color: oklch(70.9% 0.146 276.4);
Tailwind
colors: {
  custom: {
    50: '#b1b5fd',
    500: '#8a97fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a97fb;
$custom-light: #b1b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97fb",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 233.097,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70913,
    "c": 0.1461,
    "h": 276.4
  },
  "luminance": 0.34502
}

Semantic roles & 50–950 ramp

primary
#8A97FB
secondary
#F6F2D5
accent
#CB00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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