#8A9CE9#8A9CE9

#8A9CE9 is a light, moderate blue. Relative luminance 0.351; OKLCH L 71.0% C 0.115 H 273.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8A9CE9
RGBrgb(138, 156, 233)
HSLhsl(229, 68%, 73%)
HSVhsv(229, 41%, 91%)
CMYKcmyk(40.8%, 33%, 0%, 8.6%)
CIE-LABlab(65.80, 12.75, -40.85)
CIE-LCHlch(65.80, 42.80, 287.34°)
OKLaboklab(70.97% 0.0063 -0.1145)
OKLCHoklch(70.97% 0.115 273.1)
XYZxyz(37.0732, 35.0616, 81.8891)
Luminance0.3506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CE9 #E9D78A
analogous
#8ACBE9 #8A9CE9 #A88AE9
triadic
#8A9CE9 #E98A9C #9CE98A
tetradic
#8A9CE9 #E98ACB #E9D78A #8AE9A8
square
#8A9CE9 #E98ACB #E9D78A #8AE9A8
split-complementary
#8A9CE9 #E9A88A #CBE98A
monochromatic
#2748D1 #5670DF #8A9CE9 #BEC8F3 #E5E9FA

Accessibility & contrast

On white

2.62
#8A9CE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#8A9CE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9CE9
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9CE9#FFFFFF#000000##000000
##8A9CE91.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A4EC
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#6BABB8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #8a9ce9;
/* rgb */ color: rgb(138, 156, 233);
/* oklch */ color: oklch(71.0% 0.115 273.1);
Tailwind
colors: {
  custom: {
    50: '#afb9f0',
    500: '#8a9ce9',
    950: '#000000',
  },
}
SCSS
$custom: #8a9ce9;
$custom-light: #afb9f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9ce9",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 233
  },
  "hsl": {
    "h": 228.632,
    "s": 68.345,
    "l": 72.745
  },
  "oklch": {
    "l": 0.70975,
    "c": 0.11463,
    "h": 273.1
  },
  "luminance": 0.35063
}

Semantic roles & 50–950 ramp

primary
#8A9CE9
secondary
#F2EDD9
accent
#AD15D0
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111116
muted
#808084

Preview Lab

Preview with #8A9CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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