#8D8EFE#8D8EFE

#8D8EFE is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.6% C 0.162 H 281.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8D8EFE
RGBrgb(141, 142, 254)
HSLhsl(239, 98%, 77%)
HSVhsv(239, 44%, 100%)
CMYKcmyk(44.5%, 44.1%, 0%, 0.4%)
CIE-LABlab(63.48, 27.51, -56.02)
CIE-LCHlch(63.48, 62.41, 296.15°)
OKLaboklab(69.58% 0.0307 -0.1587)
OKLCHoklch(69.58% 0.162 281)
XYZxyz(38.5416, 32.1627, 97.9239)
Luminance0.3216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8EFE #FEFD8D
analogous
#8DC7FE #8D8EFE #C48DFE
triadic
#8D8EFE #FE8D8E #8EFE8D
tetradic
#8D8EFE #FE8DC7 #FEFD8D #8DFEC4
square
#8D8EFE #FE8DC7 #FEFD8D #8DFEC4
split-complementary
#8D8EFE #FEC48D #C7FE8D
monochromatic
#1416FD #5052FD #8D8EFE #CACAFF #E1E1FF

Accessibility & contrast

On white

2.83
#8D8EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#8D8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D8EFE
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8EFE#FFFFFF#000000##000000
##8D8EFE1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#629EFF
Deuteranopia (green-blind)
#5B96FB
Tritanopia (blue-blind)
#67A5BA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8d8efe;
/* rgb */ color: rgb(141, 142, 254);
/* oklch */ color: oklch(69.6% 0.162 281.0);
Tailwind
colors: {
  custom: {
    50: '#b4afff',
    500: '#8d8efe',
    950: '#000000',
  },
}
SCSS
$custom: #8d8efe;
$custom-light: #b4afff;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8efe",
  "rgb": {
    "r": 141,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 239.469,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.69583,
    "c": 0.1616,
    "h": 281
  },
  "luminance": 0.32164
}

Semantic roles & 50–950 ramp

primary
#8D8EFE
secondary
#F7F7D4
accent
#E300E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8D8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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