#8A97FC#8A97FC

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

Color values

HEX#8A97FC
RGBrgb(138, 151, 252)
HSLhsl(233, 95%, 76%)
HSVhsv(233, 45%, 99%)
CMYKcmyk(45.2%, 40.1%, 0%, 1.2%)
CIE-LABlab(65.41, 21.01, -51.88)
CIE-LCHlch(65.41, 55.97, 292.05°)
OKLaboklab(70.97% 0.0165 -0.1466)
OKLCHoklch(70.97% 0.147 276.4)
XYZxyz(39.1131, 34.5627, 96.6869)
Luminance0.3457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97FC #FCEF8A
analogous
#8AD0FC #8A97FC #B68AFC
triadic
#8A97FC #FC8A97 #97FC8A
tetradic
#8A97FC #FC8AD0 #FCEF8A #8AFCB6
square
#8A97FC #FC8AD0 #FCEF8A #8AFCB6
split-complementary
#8A97FC #FCB68A #D0FC8A
monochromatic
#132DF9 #4E62FA #8A97FC #C6CCFE #E1E4FE

Accessibility & contrast

On white

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

On black

7.91
#8A97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97FC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97FC#FFFFFF#000000##000000
##8A97FC1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A4FF
Deuteranopia (green-blind)
#689BFA
Tritanopia (blue-blind)
#62ACBD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a97fc;
/* rgb */ color: rgb(138, 151, 252);
/* oklch */ color: oklch(71.0% 0.147 276.4);
Tailwind
colors: {
  custom: {
    50: '#b1b5fe',
    500: '#8a97fc',
    950: '#000000',
  },
}
SCSS
$custom: #8a97fc;
$custom-light: #b1b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97fc",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 233.158,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70968,
    "c": 0.14747,
    "h": 276.4
  },
  "luminance": 0.34565
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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