#8E8FE3#8E8FE3

#8E8FE3 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.4% C 0.123 H 282.1°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8E8FE3
RGBrgb(142, 143, 227)
HSLhsl(239, 60%, 72%)
HSVhsv(239, 37%, 89%)
CMYKcmyk(37.4%, 37%, 0%, 11%)
CIE-LABlab(62.46, 19.65, -42.76)
CIE-LCHlch(62.46, 47.06, 294.69°)
OKLaboklab(68.39% 0.0258 -0.1199)
OKLCHoklch(68.39% 0.123 282.1)
XYZxyz(34.8390, 30.9405, 76.7946)
Luminance0.3094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8FE3 #E3E28E
analogous
#8EBAE3 #8E8FE3 #B78EE3
triadic
#8E8FE3 #E38E8F #8FE38E
tetradic
#8E8FE3 #E38EBA #E3E28E #8EE3B7
square
#8E8FE3 #E38EBA #E3E28E #8EE3B7
split-complementary
#8E8FE3 #E3B78E #BAE38E
monochromatic
#3133C6 #5D5ED7 #8E8FE3 #BFC0EF #E6E7F9

Accessibility & contrast

On white

2.92
#8E8FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#8E8FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E8FE3
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8FE3#FFFFFF#000000##000000
##8E8FE31.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE6
Deuteranopia (green-blind)
#7094E1
Tritanopia (blue-blind)
#769FAE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8e8fe3;
/* rgb */ color: rgb(142, 143, 227);
/* oklch */ color: oklch(68.4% 0.123 282.1);
Tailwind
colors: {
  custom: {
    50: '#b2afec',
    500: '#8e8fe3',
    950: '#000000',
  },
}
SCSS
$custom: #8e8fe3;
$custom-light: #b2afec;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8fe3",
  "rgb": {
    "r": 142,
    "g": 143,
    "b": 227
  },
  "hsl": {
    "h": 239.294,
    "s": 60.284,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68386,
    "c": 0.12267,
    "h": 282.1
  },
  "luminance": 0.30942
}

Semantic roles & 50–950 ramp

primary
#8E8FE3
secondary
#F0F0DB
accent
#C61EC8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8E8FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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