#8E89FC#8E89FC

#8E89FC is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.6% C 0.166 H 283.1°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8E89FC
RGBrgb(142, 137, 252)
HSLhsl(243, 95%, 76%)
HSVhsv(243, 46%, 99%)
CMYKcmyk(43.7%, 45.6%, 0%, 1.2%)
CIE-LABlab(62.23, 30.08, -56.91)
CIE-LCHlch(62.23, 64.37, 297.86°)
OKLaboklab(68.62% 0.0375 -0.1613)
OKLCHoklch(68.62% 0.166 283.1)
XYZxyz(37.6665, 30.6687, 96.0116)
Luminance0.3067 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E89FC #F7FC89
analogous
#89BEFC #8E89FC #C889FC
triadic
#8E89FC #FC8E89 #89FC8E
tetradic
#8E89FC #FC89BE #F7FC89 #89FCC8
square
#8E89FC #FC89BE #F7FC89 #89FCC8
split-complementary
#8E89FC #FCC889 #BEFC89
monochromatic
#1C12F9 #554DFA #8E89FC #C7C5FE #E2E1FE

Accessibility & contrast

On white

2.94
#8E89FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#8E89FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E89FC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E89FC#FFFFFF#000000##000000
##8E89FC1.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#5693F9
Tritanopia (blue-blind)
#6BA1B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8e89fc;
/* rgb */ color: rgb(142, 137, 252);
/* oklch */ color: oklch(68.6% 0.166 283.1);
Tailwind
colors: {
  custom: {
    50: '#b4abfe',
    500: '#8e89fc',
    950: '#000000',
  },
}
SCSS
$custom: #8e89fc;
$custom-light: #b4abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#8e89fc",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 252
  },
  "hsl": {
    "h": 242.609,
    "s": 95.041,
    "l": 76.275
  },
  "oklch": {
    "l": 0.6862,
    "c": 0.16556,
    "h": 283.1
  },
  "luminance": 0.3067
}

Semantic roles & 50–950 ramp

primary
#8E89FC
secondary
#F5F6D5
accent
#E600DC
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #8E89FC

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

Preview Lab → · Contrast checker → · Palette generator →

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