#8A97FF#8A97FF

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

Color values

HEX#8A97FF
RGBrgb(138, 151, 255)
HSLhsl(233, 100%, 77%)
HSVhsv(233, 46%, 100%)
CMYKcmyk(45.9%, 40.8%, 0%, 0%)
CIE-LABlab(65.56, 21.88, -53.28)
CIE-LCHlch(65.56, 57.59, 292.33°)
OKLaboklab(71.13% 0.017 -0.1506)
OKLCHoklch(71.13% 0.152 276.4)
XYZxyz(39.5923, 34.7544, 99.2104)
Luminance0.3476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97FF #FFF28A
analogous
#8AD2FF #8A97FF #B78AFF
triadic
#8A97FF #FF8A97 #97FF8A
tetradic
#8A97FF #FF8AD2 #FFF28A #8AFFB7
square
#8A97FF #FF8AD2 #FFF28A #8AFFB7
split-complementary
#8A97FF #FFB78A #D2FF8A
monochromatic
#102AFF #4D61FF #8A97FF #C7CDFF #E0E4FF

Accessibility & contrast

On white

2.64
#8A97FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#8A97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97FF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97FF#FFFFFF#000000##000000
##8A97FF1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA4FF
Deuteranopia (green-blind)
#669BFD
Tritanopia (blue-blind)
#60ADBF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a97ff;
/* rgb */ color: rgb(138, 151, 255);
/* oklch */ color: oklch(71.1% 0.152 276.4);
Tailwind
colors: {
  custom: {
    50: '#b2b5ff',
    500: '#8a97ff',
    950: '#000000',
  },
}
SCSS
$custom: #8a97ff;
$custom-light: #b2b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97ff",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 233.333,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71131,
    "c": 0.1516,
    "h": 276.4
  },
  "luminance": 0.34756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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