#8A9FFB#8A9FFB

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

Color values

HEX#8A9FFB
RGBrgb(138, 159, 251)
HSLhsl(229, 93%, 76%)
HSVhsv(229, 45%, 98%)
CMYKcmyk(45%, 36.7%, 0%, 1.6%)
CIE-LABlab(67.40, 16.11, -48.19)
CIE-LCHlch(67.40, 50.81, 288.49°)
OKLaboklab(72.48% 0.0067 -0.1357)
OKLCHoklch(72.48% 0.136 272.8)
XYZxyz(40.2865, 37.1624, 96.2983)
Luminance0.3716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9FFB #FBE68A
analogous
#8AD7FB #8A9FFB #AE8AFB
triadic
#8A9FFB #FB8A9F #9FFB8A
tetradic
#8A9FFB #FB8AD7 #FBE68A #8AFBAE
square
#8A9FFB #FB8AD7 #FBE68A #8AFBAE
split-complementary
#8A9FFB #FBAE8A #D7FB8A
monochromatic
#143EF7 #4F6EF9 #8A9FFB #C5D0FD #E1E7FE

Accessibility & contrast

On white

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

On black

8.43
#8A9FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9FFB
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9FFB#FFFFFF#000000##000000
##8A9FFB1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#73A0F9
Tritanopia (blue-blind)
#61B2C1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8a9ffb;
/* rgb */ color: rgb(138, 159, 251);
/* oklch */ color: oklch(72.5% 0.136 272.8);
Tailwind
colors: {
  custom: {
    50: '#b1bbfd',
    500: '#8a9ffb',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ffb;
$custom-light: #b1bbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ffb",
  "rgb": {
    "r": 138,
    "g": 159,
    "b": 251
  },
  "hsl": {
    "h": 228.85,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72481,
    "c": 0.13592,
    "h": 272.8
  },
  "luminance": 0.37165
}

Semantic roles & 50–950 ramp

primary
#8A9FFB
secondary
#F6F0D5
accent
#BB00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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