#8E8DFD#8E8DFD

#8E8DFD is a light, vivid blue. Relative luminance 0.319; OKLCH L 69.4% C 0.161 H 281.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#8E8DFD
RGBrgb(142, 141, 253)
HSLhsl(241, 97%, 77%)
HSVhsv(241, 44%, 99%)
CMYKcmyk(43.9%, 44.3%, 0%, 0.8%)
CIE-LABlab(63.25, 28.04, -55.83)
CIE-LCHlch(63.25, 62.47, 296.67°)
OKLaboklab(69.41% 0.0329 -0.1581)
OKLCHoklch(69.41% 0.161 281.7)
XYZxyz(38.4046, 31.8906, 97.0414)
Luminance0.3189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8DFD #FCFD8D
analogous
#8DC4FD #8E8DFD #C68DFD
triadic
#8E8DFD #FD8E8D #8DFD8E
tetradic
#8E8DFD #FD8DC4 #FCFD8D #8DFDC6
square
#8E8DFD #FD8DC4 #FCFD8D #8DFDC6
split-complementary
#8E8DFD #FDC68D #C4FD8D
monochromatic
#1715FB #5251FC #8E8DFD #CAC9FE #E1E1FE

Accessibility & contrast

On white

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

On black

7.38
#8E8DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E8DFD
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8DFD#FFFFFF#000000##000000
##8E8DFD1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#5B95FA
Tritanopia (blue-blind)
#6AA4B9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8e8dfd;
/* rgb */ color: rgb(142, 141, 253);
/* oklch */ color: oklch(69.4% 0.161 281.7);
Tailwind
colors: {
  custom: {
    50: '#b4aefe',
    500: '#8e8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #8e8dfd;
$custom-light: #b4aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8dfd",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 240.536,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.69414,
    "c": 0.16144,
    "h": 281.7
  },
  "luminance": 0.31892
}

Semantic roles & 50–950 ramp

primary
#8E8DFD
secondary
#F6F7D4
accent
#E600E3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8E8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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