#8E89EF#8E89EF

#8E89EF is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.9% C 0.148 H 284.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8E89EF
RGBrgb(142, 137, 239)
HSLhsl(243, 76%, 74%)
HSVhsv(243, 43%, 94%)
CMYKcmyk(40.6%, 42.7%, 0%, 6.3%)
CIE-LABlab(61.54, 26.43, -50.84)
CIE-LCHlch(61.54, 57.30, 297.47°)
OKLaboklab(67.88% 0.0357 -0.1435)
OKLCHoklch(67.88% 0.148 284)
XYZxyz(35.6765, 29.8727, 85.5308)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E89EF #EAEF89
analogous
#89B7EF #8E89EF #C189EF
triadic
#8E89EF #EF8E89 #89EF8E
tetradic
#8E89EF #EF89B7 #EAEF89 #89EFC1
square
#8E89EF #EF89B7 #EAEF89 #89EFC1
split-complementary
#8E89EF #EFC189 #B7EF89
monochromatic
#281EDF #5A53E8 #8E89EF #C2BFF6 #E5E4FB

Accessibility & contrast

On white

3.01
#8E89EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#8E89EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E89EF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E89EF#FFFFFF#000000##000000
##8E89EF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6498F3
Deuteranopia (green-blind)
#6091ED
Tritanopia (blue-blind)
#719DB0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8e89ef;
/* rgb */ color: rgb(142, 137, 239);
/* oklch */ color: oklch(67.9% 0.148 284.0);
Tailwind
colors: {
  custom: {
    50: '#b3abf5',
    500: '#8e89ef',
    950: '#000000',
  },
}
SCSS
$custom: #8e89ef;
$custom-light: #b3abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e89ef",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 239
  },
  "hsl": {
    "h": 242.941,
    "s": 76.119,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67881,
    "c": 0.14785,
    "h": 284
  },
  "luminance": 0.29874
}

Semantic roles & 50–950 ramp

primary
#8E89EF
secondary
#F2F3D8
accent
#D80DCE
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8E89EF

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

Preview Lab → · Contrast checker → · Palette generator →

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