#8A99EC#8A99EC

#8A99EC is a light, vivid blue. Relative luminance 0.342; OKLCH L 70.5% C 0.123 H 275.0°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#8A99EC
RGBrgb(138, 153, 236)
HSLhsl(231, 72%, 73%)
HSVhsv(231, 42%, 93%)
CMYKcmyk(41.5%, 35.2%, 0%, 7.5%)
CIE-LABlab(65.15, 15.31, -43.51)
CIE-LCHlch(65.15, 46.13, 289.39°)
OKLaboklab(70.52% 0.0107 -0.1222)
OKLCHoklch(70.52% 0.123 275)
XYZxyz(37.0082, 34.2401, 83.9996)
Luminance0.3424 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A99EC #ECDD8A
analogous
#8ACAEC #8A99EC #AC8AEC
triadic
#8A99EC #EC8A99 #99EC8A
tetradic
#8A99EC #EC8ACA #ECDD8A #8AECAC
square
#8A99EC #EC8ACA #ECDD8A #8AECAC
split-complementary
#8A99EC #ECAC8A #CAEC8A
monochromatic
#233FD8 #556BE3 #8A99EC #BFC7F5 #E5E8FB

Accessibility & contrast

On white

2.68
#8A99EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#8A99EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A99EC
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A99EC#FFFFFF#000000##000000
##8A99EC1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EF
Deuteranopia (green-blind)
#759AEA
Tritanopia (blue-blind)
#6AAAB7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #8a99ec;
/* rgb */ color: rgb(138, 153, 236);
/* oklch */ color: oklch(70.5% 0.123 275.0);
Tailwind
colors: {
  custom: {
    50: '#b0b6f2',
    500: '#8a99ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a99ec;
$custom-light: #b0b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a99ec",
  "rgb": {
    "r": 138,
    "g": 153,
    "b": 236
  },
  "hsl": {
    "h": 230.816,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70522,
    "c": 0.12264,
    "h": 275
  },
  "luminance": 0.34242
}

Semantic roles & 50–950 ramp

primary
#8A99EC
secondary
#F2EED9
accent
#B611D4
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#111117
muted
#808085

Preview Lab

Preview with #8A99EC

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

Preview Lab → · Contrast checker → · Palette generator →

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