#8D8EF8#8D8EF8

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

Color values

HEX#8D8EF8
RGBrgb(141, 142, 248)
HSLhsl(239, 88%, 76%)
HSVhsv(239, 43%, 97%)
CMYKcmyk(43.1%, 42.7%, 0%, 2.7%)
CIE-LABlab(63.16, 25.81, -53.23)
CIE-LCHlch(63.16, 59.16, 295.86°)
OKLaboklab(69.24% 0.0298 -0.1505)
OKLCHoklch(69.24% 0.153 281.2)
XYZxyz(37.5958, 31.7843, 92.9428)
Luminance0.3179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8EF8 #F8F78D
analogous
#8DC4F8 #8D8EF8 #C28DF8
triadic
#8D8EF8 #F88D8E #8EF88D
tetradic
#8D8EF8 #F88DC4 #F8F78D #8DF8C2
square
#8D8EF8 #F88DC4 #F8F78D #8DF8C2
split-complementary
#8D8EF8 #F8C28D #C4F88D
monochromatic
#1A1CF1 #5355F4 #8D8EF8 #C7C7FC #E2E2FD

Accessibility & contrast

On white

2.85
#8D8EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#8D8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D8EF8
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8EF8#FFFFFF#000000##000000
##8D8EF81.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFC
Deuteranopia (green-blind)
#6095F6
Tritanopia (blue-blind)
#6BA4B7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8d8ef8;
/* rgb */ color: rgb(141, 142, 248);
/* oklch */ color: oklch(69.2% 0.153 281.2);
Tailwind
colors: {
  custom: {
    50: '#b3affb',
    500: '#8d8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #8d8ef8;
$custom-light: #b3affb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8ef8",
  "rgb": {
    "r": 141,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 239.439,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69244,
    "c": 0.15341,
    "h": 281.2
  },
  "luminance": 0.31786
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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