#8A97FA#8A97FA

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

Color values

HEX#8A97FA
RGBrgb(138, 151, 250)
HSLhsl(233, 92%, 76%)
HSVhsv(233, 45%, 98%)
CMYKcmyk(44.8%, 39.6%, 0%, 2%)
CIE-LABlab(65.31, 20.44, -50.94)
CIE-LCHlch(65.31, 54.89, 291.86°)
OKLaboklab(70.86% 0.0161 -0.1438)
OKLCHoklch(70.86% 0.145 276.4)
XYZxyz(38.7979, 34.4366, 95.0265)
Luminance0.3444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97FA #FAED8A
analogous
#8ACFFA #8A97FA #B58AFA
triadic
#8A97FA #FA8A97 #97FA8A
tetradic
#8A97FA #FA8ACF #FAED8A #8AFAB5
square
#8A97FA #FA8ACF #FAED8A #8AFAB5
split-complementary
#8A97FA #FAB58A #CFFA8A
monochromatic
#152FF5 #4F63F7 #8A97FA #C5CBFD #E2E5FE

Accessibility & contrast

On white

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

On black

7.89
#8A97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97FA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97FA#FFFFFF#000000##000000
##8A97FA1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FE
Deuteranopia (green-blind)
#699AF8
Tritanopia (blue-blind)
#63ABBC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8a97fa;
/* rgb */ color: rgb(138, 151, 250);
/* oklch */ color: oklch(70.9% 0.145 276.4);
Tailwind
colors: {
  custom: {
    50: '#b1b5fc',
    500: '#8a97fa',
    950: '#000000',
  },
}
SCSS
$custom: #8a97fa;
$custom-light: #b1b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97fa",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 233.036,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70859,
    "c": 0.14472,
    "h": 276.4
  },
  "luminance": 0.34439
}

Semantic roles & 50–950 ramp

primary
#8A97FA
secondary
#F6F2D5
accent
#CB00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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