#8A97FD#8A97FD

#8A97FD is a light, vivid blue. Relative luminance 0.346; OKLCH L 71.0% C 0.149 H 276.4°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8A97FD
RGBrgb(138, 151, 253)
HSLhsl(233, 97%, 77%)
HSVhsv(233, 45%, 99%)
CMYKcmyk(45.5%, 40.3%, 0%, 0.8%)
CIE-LABlab(65.46, 21.30, -52.35)
CIE-LCHlch(65.46, 56.51, 292.14°)
OKLaboklab(71.02% 0.0167 -0.1479)
OKLCHoklch(71.02% 0.149 276.4)
XYZxyz(39.2720, 34.6263, 97.5237)
Luminance0.3463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97FD #FDF08A
analogous
#8AD1FD #8A97FD #B78AFD
triadic
#8A97FD #FD8A97 #97FD8A
tetradic
#8A97FD #FD8AD1 #FDF08A #8AFDB7
square
#8A97FD #FD8AD1 #FDF08A #8AFDB7
split-complementary
#8A97FD #FDB78A #D1FD8A
monochromatic
#122CFB #4E62FC #8A97FD #C6CCFE #E1E4FE

Accessibility & contrast

On white

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

On black

7.93
#8A97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97FD
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97FD#FFFFFF#000000##000000
##8A97FD1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#679BFB
Tritanopia (blue-blind)
#61ACBE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a97fd;
/* rgb */ color: rgb(138, 151, 253);
/* oklch */ color: oklch(71.0% 0.149 276.4);
Tailwind
colors: {
  custom: {
    50: '#b1b5fe',
    500: '#8a97fd',
    950: '#000000',
  },
}
SCSS
$custom: #8a97fd;
$custom-light: #b1b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97fd",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 233.217,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.71022,
    "c": 0.14886,
    "h": 276.4
  },
  "luminance": 0.34628
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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