#8A9FF7#8A9FF7

#8A9FF7 is a light, vivid blue. Relative luminance 0.369; OKLCH L 72.3% C 0.130 H 272.6°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#8A9FF7
RGBrgb(138, 159, 247)
HSLhsl(228, 87%, 75%)
HSVhsv(228, 44%, 97%)
CMYKcmyk(44.1%, 35.6%, 0%, 3.1%)
CIE-LABlab(67.21, 14.97, -46.30)
CIE-LCHlch(67.21, 48.66, 287.91°)
OKLaboklab(72.28% 0.0059 -0.1303)
OKLCHoklch(72.28% 0.13 272.6)
XYZxyz(39.6627, 36.9128, 93.0126)
Luminance0.3691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9FF7 #F7E28A
analogous
#8AD6F7 #8A9FF7 #AB8AF7
triadic
#8A9FF7 #F78A9F #9FF78A
tetradic
#8A9FF7 #F78AD6 #F7E28A #8AF7AB
square
#8A9FF7 #F78AD6 #F7E28A #8AF7AB
split-complementary
#8A9FF7 #F7AB8A #D6F78A
monochromatic
#1741EF #5170F3 #8A9FF7 #C3CEFB #E2E7FD

Accessibility & contrast

On white

2.51
#8A9FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#8A9FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9FF7
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9FF7#FFFFFF#000000##000000
##8A9FF71.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA8FB
Deuteranopia (green-blind)
#769FF5
Tritanopia (blue-blind)
#64B1BF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8a9ff7;
/* rgb */ color: rgb(138, 159, 247);
/* oklch */ color: oklch(72.3% 0.130 272.6);
Tailwind
colors: {
  custom: {
    50: '#b1bbfa',
    500: '#8a9ff7',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ff7;
$custom-light: #b1bbfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ff7",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 247
  },
  "hsl": {
    "h": 228.44,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72276,
    "c": 0.13039,
    "h": 272.6
  },
  "luminance": 0.36915
}

Semantic roles & 50–950 ramp

primary
#8A9FF7
secondary
#F5EFD6
accent
#B802E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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