#8D8EF7#8D8EF7

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

Color values

HEX#8D8EF7
RGBrgb(141, 142, 247)
HSLhsl(239, 87%, 76%)
HSVhsv(239, 43%, 97%)
CMYKcmyk(42.9%, 42.5%, 0%, 3.1%)
CIE-LABlab(63.11, 25.52, -52.76)
CIE-LCHlch(63.11, 58.61, 295.81°)
OKLaboklab(69.19% 0.0297 -0.1491)
OKLCHoklch(69.19% 0.152 281.2)
XYZxyz(37.4410, 31.7224, 92.1279)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8EF7 #F7F68D
analogous
#8DC3F7 #8D8EF7 #C18DF7
triadic
#8D8EF7 #F78D8E #8EF78D
tetradic
#8D8EF7 #F78DC3 #F7F68D #8DF7C1
square
#8D8EF7 #F78DC3 #F7F68D #8DF7C1
split-complementary
#8D8EF7 #F7C18D #C3F78D
monochromatic
#1B1DEF #5455F3 #8D8EF7 #C6C7FB #E2E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8EF7#FFFFFF#000000##000000
##8D8EF71.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)
#679DFB
Deuteranopia (green-blind)
#6195F5
Tritanopia (blue-blind)
#6BA3B7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8d8ef7;
/* rgb */ color: rgb(141, 142, 247);
/* oklch */ color: oklch(69.2% 0.152 281.2);
Tailwind
colors: {
  custom: {
    50: '#b3affa',
    500: '#8d8ef7',
    950: '#000000',
  },
}
SCSS
$custom: #8d8ef7;
$custom-light: #b3affa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8ef7",
  "rgb": {
    "r": 141,
    "g": 142,
    "b": 247
  },
  "hsl": {
    "h": 239.434,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69188,
    "c": 0.15204,
    "h": 281.2
  },
  "luminance": 0.31724
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D8EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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