#8A97F6#8A97F6

#8A97F6 is a light, vivid blue. Relative luminance 0.342; OKLCH L 70.6% C 0.139 H 276.3°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8A97F6
RGBrgb(138, 151, 246)
HSLhsl(233, 86%, 75%)
HSVhsv(233, 44%, 96%)
CMYKcmyk(43.9%, 38.6%, 0%, 3.5%)
CIE-LABlab(65.11, 19.29, -49.06)
CIE-LCHlch(65.11, 52.72, 291.47°)
OKLaboklab(70.65% 0.0153 -0.1383)
OKLCHoklch(70.65% 0.139 276.3)
XYZxyz(38.1773, 34.1884, 91.7583)
Luminance0.3419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A97F6 #F6E98A
analogous
#8ACDF6 #8A97F6 #B38AF6
triadic
#8A97F6 #F68A97 #97F68A
tetradic
#8A97F6 #F68ACD #F6E98A #8AF6B3
square
#8A97F6 #F68ACD #F6E98A #8AF6B3
split-complementary
#8A97F6 #F6B38A #CDF68A
monochromatic
#1832ED #5164F2 #8A97F6 #C3CAFA #E3E6FD

Accessibility & contrast

On white

2.68
#8A97F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#8A97F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A97F6
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A97F6#FFFFFF#000000##000000
##8A97F61.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FA
Deuteranopia (green-blind)
#6C9AF4
Tritanopia (blue-blind)
#65AABB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a97f6;
/* rgb */ color: rgb(138, 151, 246);
/* oklch */ color: oklch(70.6% 0.139 276.3);
Tailwind
colors: {
  custom: {
    50: '#b1b5f9',
    500: '#8a97f6',
    950: '#000000',
  },
}
SCSS
$custom: #8a97f6;
$custom-light: #b1b5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a97f6",
  "rgb": {
    "r": 138,
    "g": 151,
    "b": 246
  },
  "hsl": {
    "h": 232.778,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70645,
    "c": 0.13919,
    "h": 276.3
  },
  "luminance": 0.3419
}

Semantic roles & 50–950 ramp

primary
#8A97F6
secondary
#F5F1D6
accent
#C703E2
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A97F6

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

Preview Lab → · Contrast checker → · Palette generator →

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