#8E89FA#8E89FA

#8E89FA is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.5% C 0.163 H 283.2°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8E89FA
RGBrgb(142, 137, 250)
HSLhsl(243, 92%, 76%)
HSVhsv(243, 45%, 98%)
CMYKcmyk(43.2%, 45.2%, 0%, 2%)
CIE-LABlab(62.12, 29.51, -55.99)
CIE-LCHlch(62.12, 63.29, 297.80°)
OKLaboklab(68.5% 0.0372 -0.1585)
OKLCHoklch(68.5% 0.163 283.2)
XYZxyz(37.3513, 30.5426, 94.3512)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E89FA #F5FA89
analogous
#89BCFA #8E89FA #C689FA
triadic
#8E89FA #FA8E89 #89FA8E
tetradic
#8E89FA #FA89BC #F5FA89 #89FAC6
square
#8E89FA #FA89BC #F5FA89 #89FAC6
split-complementary
#8E89FA #FAC689 #BCFA89
monochromatic
#1E14F5 #564EF8 #8E89FA #C6C4FC #E3E2FE

Accessibility & contrast

On white

2.95
#8E89FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#8E89FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8E89FA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E89FA#FFFFFF#000000##000000
##8E89FA1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#5892F7
Tritanopia (blue-blind)
#6CA0B5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8e89fa;
/* rgb */ color: rgb(142, 137, 250);
/* oklch */ color: oklch(68.5% 0.163 283.2);
Tailwind
colors: {
  custom: {
    50: '#b4abfc',
    500: '#8e89fa',
    950: '#000000',
  },
}
SCSS
$custom: #8e89fa;
$custom-light: #b4abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e89fa",
  "rgb": {
    "r": 142,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 242.655,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.68504,
    "c": 0.16286,
    "h": 283.2
  },
  "luminance": 0.30544
}

Semantic roles & 50–950 ramp

primary
#8E89FA
secondary
#F4F6D5
accent
#E600DB
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8E89FA

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

Preview Lab → · Contrast checker → · Palette generator →

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