#8E8CF9#8E8CF9

#8E8CF9 is a light, vivid blue. Relative luminance 0.313; OKLCH L 69.0% C 0.157 H 282.3°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8E8CF9
RGBrgb(142, 140, 249)
HSLhsl(241, 90%, 76%)
HSVhsv(241, 44%, 98%)
CMYKcmyk(43%, 43.8%, 0%, 2.4%)
CIE-LABlab(62.80, 27.49, -54.36)
CIE-LCHlch(62.80, 60.91, 296.83°)
OKLaboklab(69% 0.0335 -0.1538)
OKLCHoklch(69% 0.157 282.3)
XYZxyz(37.6273, 31.3449, 93.6717)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8CF9 #F7F98C
analogous
#8CC1F9 #8E8CF9 #C58CF9
triadic
#8E8CF9 #F98E8C #8CF98E
tetradic
#8E8CF9 #F98CC1 #F7F98C #8CF9C5
square
#8E8CF9 #F98CC1 #F7F98C #8CF9C5
split-complementary
#8E8CF9 #F9C58C #C1F98C
monochromatic
#1C18F3 #5552F6 #8E8CF9 #C7C6FC #E2E2FD

Accessibility & contrast

On white

2.89
#8E8CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#8E8CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E8CF9
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8CF9#FFFFFF#000000##000000
##8E8CF91.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFD
Deuteranopia (green-blind)
#5D94F7
Tritanopia (blue-blind)
#6CA2B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8e8cf9;
/* rgb */ color: rgb(142, 140, 249);
/* oklch */ color: oklch(69.0% 0.157 282.3);
Tailwind
colors: {
  custom: {
    50: '#b4adfc',
    500: '#8e8cf9',
    950: '#000000',
  },
}
SCSS
$custom: #8e8cf9;
$custom-light: #b4adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8cf9",
  "rgb": {
    "r": 142,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 241.101,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69,
    "c": 0.15738,
    "h": 282.3
  },
  "luminance": 0.31347
}

Semantic roles & 50–950 ramp

primary
#8E8CF9
secondary
#F5F6D5
accent
#E600E1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8E8CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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