#8C8EF8#8C8EF8

#8C8EF8 is a light, vivid blue. Relative luminance 0.317; OKLCH L 69.2% C 0.154 H 280.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8C8EF8
RGBrgb(140, 142, 248)
HSLhsl(239, 89%, 76%)
HSVhsv(239, 44%, 97%)
CMYKcmyk(43.5%, 42.7%, 0%, 2.7%)
CIE-LABlab(63.09, 25.57, -53.35)
CIE-LCHlch(63.09, 59.16, 295.61°)
OKLaboklab(69.17% 0.0287 -0.1509)
OKLCHoklch(69.17% 0.154 280.8)
XYZxyz(37.4265, 31.6970, 92.9348)
Luminance0.3170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8EF8 #F8F68C
analogous
#8CC4F8 #8C8EF8 #C08CF8
triadic
#8C8EF8 #F88C8E #8EF88C
tetradic
#8C8EF8 #F88CC4 #F8F68C #8CF8C0
square
#8C8EF8 #F88CC4 #F8F68C #8CF8C0
split-complementary
#8C8EF8 #F8C08C #C4F88C
monochromatic
#191DF1 #5255F4 #8C8EF8 #C6C7FC #E2E3FD

Accessibility & contrast

On white

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

On black

7.34
#8C8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8EF8
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8EF8#FFFFFF#000000##000000
##8C8EF81.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFC
Deuteranopia (green-blind)
#5F95F6
Tritanopia (blue-blind)
#69A4B7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8c8ef8;
/* rgb */ color: rgb(140, 142, 248);
/* oklch */ color: oklch(69.2% 0.154 280.8);
Tailwind
colors: {
  custom: {
    50: '#b2affb',
    500: '#8c8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #8c8ef8;
$custom-light: #b2affb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8ef8",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 238.889,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.6917,
    "c": 0.15357,
    "h": 280.8
  },
  "luminance": 0.31699
}

Semantic roles & 50–950 ramp

primary
#8C8EF8
secondary
#F5F5D6
accent
#E100E5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8C8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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