#8A9FFC#8A9FFC

#8A9FFC is a light, vivid blue. Relative luminance 0.372; OKLCH L 72.5% C 0.137 H 272.9°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#8A9FFC
RGBrgb(138, 159, 252)
HSLhsl(229, 95%, 76%)
HSVhsv(229, 45%, 99%)
CMYKcmyk(45.2%, 36.9%, 0%, 1.2%)
CIE-LABlab(67.45, 16.40, -48.66)
CIE-LCHlch(67.45, 51.34, 288.62°)
OKLaboklab(72.53% 0.007 -0.1371)
OKLCHoklch(72.53% 0.137 272.9)
XYZxyz(40.4446, 37.2256, 97.1307)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9FFC #FCE78A
analogous
#8AD8FC #8A9FFC #AE8AFC
triadic
#8A9FFC #FC8A9F #9FFC8A
tetradic
#8A9FFC #FC8AD8 #FCE78A #8AFCAE
square
#8A9FFC #FC8AD8 #FCE78A #8AFCAE
split-complementary
#8A9FFC #FCAE8A #D8FC8A
monochromatic
#133DF9 #4E6EFA #8A9FFC #C6D0FE #E1E7FE

Accessibility & contrast

On white

2.49
#8A9FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#8A9FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9FFC
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9FFC#FFFFFF#000000##000000
##8A9FFC1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#72A0FA
Tritanopia (blue-blind)
#61B2C2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8a9ffc;
/* rgb */ color: rgb(138, 159, 252);
/* oklch */ color: oklch(72.5% 0.137 272.9);
Tailwind
colors: {
  custom: {
    50: '#b1bbfe',
    500: '#8a9ffc',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ffc;
$custom-light: #b1bbfe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ffc",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 252
  },
  "hsl": {
    "h": 228.947,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72533,
    "c": 0.1373,
    "h": 272.9
  },
  "luminance": 0.37228
}

Semantic roles & 50–950 ramp

primary
#8A9FFC
secondary
#F6F0D5
accent
#BB00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A9FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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