#8A9FF5#8A9FF5

#8A9FF5 is a light, vivid blue. Relative luminance 0.368; OKLCH L 72.2% C 0.128 H 272.4°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#8A9FF5
RGBrgb(138, 159, 245)
HSLhsl(228, 84%, 75%)
HSVhsv(228, 44%, 96%)
CMYKcmyk(43.7%, 35.1%, 0%, 3.9%)
CIE-LABlab(67.12, 14.40, -45.35)
CIE-LCHlch(67.12, 47.58, 287.61°)
OKLaboklab(72.17% 0.0054 -0.1275)
OKLCHoklch(72.17% 0.128 272.4)
XYZxyz(39.3557, 36.7900, 91.3959)
Luminance0.3679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9FF5 #F5E08A
analogous
#8AD5F5 #8A9FF5 #AA8AF5
triadic
#8A9FF5 #F58A9F #9FF58A
tetradic
#8A9FF5 #F58AD5 #F5E08A #8AF5AA
square
#8A9FF5 #F58AD5 #F5E08A #8AF5AA
split-complementary
#8A9FF5 #F5AA8A #D5F58A
monochromatic
#1942EB #5271F0 #8A9FF5 #C2CDFA #E3E8FD

Accessibility & contrast

On white

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

On black

8.36
#8A9FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9FF5
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9FF5#FFFFFF#000000##000000
##8A9FF51.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A8F8
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#65B1BF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #8a9ff5;
/* rgb */ color: rgb(138, 159, 245);
/* oklch */ color: oklch(72.2% 0.128 272.4);
Tailwind
colors: {
  custom: {
    50: '#b0bbf9',
    500: '#8a9ff5',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ff5;
$custom-light: #b0bbf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ff5",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 245
  },
  "hsl": {
    "h": 228.224,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.72174,
    "c": 0.12762,
    "h": 272.4
  },
  "luminance": 0.36792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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