#8C8EF9#8C8EF9

#8C8EF9 is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.2% C 0.155 H 280.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#8C8EF9
RGBrgb(140, 142, 249)
HSLhsl(239, 90%, 76%)
HSVhsv(239, 44%, 98%)
CMYKcmyk(43.8%, 43%, 0%, 2.4%)
CIE-LABlab(63.14, 25.85, -53.82)
CIE-LCHlch(63.14, 59.70, 295.66°)
OKLaboklab(69.23% 0.0289 -0.1522)
OKLCHoklch(69.23% 0.155 280.7)
XYZxyz(37.5820, 31.7593, 93.7541)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8EF9 #F9F78C
analogous
#8CC5F9 #8C8EF9 #C18CF9
triadic
#8C8EF9 #F98C8E #8EF98C
tetradic
#8C8EF9 #F98CC5 #F9F78C #8CF9C1
square
#8C8EF9 #F98CC5 #F9F78C #8CF9C1
split-complementary
#8C8EF9 #F9C18C #C5F98C
monochromatic
#181CF3 #5255F6 #8C8EF9 #C6C7FC #E2E2FD

Accessibility & contrast

On white

2.86
#8C8EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#8C8EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8EF9
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8EF9#FFFFFF#000000##000000
##8C8EF91.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFD
Deuteranopia (green-blind)
#5E95F7
Tritanopia (blue-blind)
#68A4B7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8c8ef9;
/* rgb */ color: rgb(140, 142, 249);
/* oklch */ color: oklch(69.2% 0.155 280.7);
Tailwind
colors: {
  custom: {
    50: '#b2affc',
    500: '#8c8ef9',
    950: '#000000',
  },
}
SCSS
$custom: #8c8ef9;
$custom-light: #b2affc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8ef9",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 238.899,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69226,
    "c": 0.15493,
    "h": 280.7
  },
  "luminance": 0.31761
}

Semantic roles & 50–950 ramp

primary
#8C8EF9
secondary
#F6F5D5
accent
#E100E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8C8EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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