#8A8EF4#8A8EF4

#8A8EF4 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.8% C 0.148 H 280.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8A8EF4
RGBrgb(138, 142, 244)
HSLhsl(238, 83%, 75%)
HSVhsv(238, 43%, 96%)
CMYKcmyk(43.4%, 41.8%, 0%, 4.3%)
CIE-LABlab(62.74, 23.95, -51.72)
CIE-LCHlch(62.74, 56.99, 294.85°)
OKLaboklab(68.8% 0.0259 -0.1461)
OKLCHoklch(68.8% 0.148 280)
XYZxyz(36.4785, 31.2792, 89.6858)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EF4 #F4F08A
analogous
#8AC3F4 #8A8EF4 #BB8AF4
triadic
#8A8EF4 #F48A8E #8EF48A
tetradic
#8A8EF4 #F48AC3 #F4F08A #8AF4BB
square
#8A8EF4 #F48AC3 #F4F08A #8AF4BB
split-complementary
#8A8EF4 #F4BB8A #C3F48A
monochromatic
#1A22E9 #5258EF #8A8EF4 #C2C4F9 #E3E4FC

Accessibility & contrast

On white

2.89
#8A8EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#8A8EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EF4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EF4#FFFFFF#000000##000000
##8A8EF41.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#689CF8
Deuteranopia (green-blind)
#6194F2
Tritanopia (blue-blind)
#67A3B5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a8ef4;
/* rgb */ color: rgb(138, 142, 244);
/* oklch */ color: oklch(68.8% 0.148 280.0);
Tailwind
colors: {
  custom: {
    50: '#b1aff8',
    500: '#8a8ef4',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ef4;
$custom-light: #b1aff8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ef4",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 237.736,
    "s": 82.813,
    "l": 74.902
  },
  "oklch": {
    "l": 0.68801,
    "c": 0.14839,
    "h": 280
  },
  "luminance": 0.31281
}

Semantic roles & 50–950 ramp

primary
#8A8EF4
secondary
#F4F3D7
accent
#D706DF
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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