#8A9DF7#8A9DF7

#8A9DF7 is a light, vivid blue. Relative luminance 0.362; OKLCH L 71.9% C 0.133 H 273.6°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8A9DF7
RGBrgb(138, 157, 247)
HSLhsl(230, 87%, 75%)
HSVhsv(230, 44%, 97%)
CMYKcmyk(44.1%, 36.4%, 0%, 3.1%)
CIE-LABlab(66.70, 16.12, -47.11)
CIE-LCHlch(66.70, 49.79, 288.89°)
OKLaboklab(71.88% 0.0083 -0.1326)
OKLCHoklch(71.88% 0.133 273.6)
XYZxyz(39.3215, 36.2305, 92.8989)
Luminance0.3623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9DF7 #F7E48A
analogous
#8AD4F7 #8A9DF7 #AD8AF7
triadic
#8A9DF7 #F78A9D #9DF78A
tetradic
#8A9DF7 #F78AD4 #F7E48A #8AF7AD
square
#8A9DF7 #F78AD4 #F7E48A #8AF7AD
split-complementary
#8A9DF7 #F7AD8A #D4F78A
monochromatic
#173DEF #516DF3 #8A9DF7 #C3CDFB #E2E7FD

Accessibility & contrast

On white

2.55
#8A9DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#8A9DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9DF7
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9DF7#FFFFFF#000000##000000
##8A9DF71.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA7FB
Deuteranopia (green-blind)
#739EF5
Tritanopia (blue-blind)
#64AFBE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #8a9df7;
/* rgb */ color: rgb(138, 157, 247);
/* oklch */ color: oklch(71.9% 0.133 273.6);
Tailwind
colors: {
  custom: {
    50: '#b1b9fa',
    500: '#8a9df7',
    950: '#000000',
  },
}
SCSS
$custom: #8a9df7;
$custom-light: #b1b9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9df7",
  "rgb": {
    "r": 138,
    "g": 157,
    "b": 247
  },
  "hsl": {
    "h": 229.541,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71878,
    "c": 0.13289,
    "h": 273.6
  },
  "luminance": 0.36233
}

Semantic roles & 50–950 ramp

primary
#8A9DF7
secondary
#F5F0D6
accent
#BC02E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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