#8A8EF2#8A8EF2

#8A8EF2 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.7% C 0.146 H 280.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8A8EF2
RGBrgb(138, 142, 242)
HSLhsl(238, 80%, 75%)
HSVhsv(238, 43%, 95%)
CMYKcmyk(43%, 41.3%, 0%, 5.1%)
CIE-LABlab(62.64, 23.38, -50.78)
CIE-LCHlch(62.64, 55.90, 294.73°)
OKLaboklab(68.69% 0.0255 -0.1434)
OKLCHoklch(68.69% 0.146 280.1)
XYZxyz(36.1765, 31.1584, 88.0952)
Luminance0.3116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EF2 #F2EE8A
analogous
#8AC2F2 #8A8EF2 #BA8AF2
triadic
#8A8EF2 #F28A8E #8EF28A
tetradic
#8A8EF2 #F28AC2 #F2EE8A #8AF2BA
square
#8A8EF2 #F28AC2 #F2EE8A #8AF2BA
split-complementary
#8A8EF2 #F2BA8A #C2F28A
monochromatic
#1C24E6 #5359EC #8A8EF2 #C1C3F8 #E3E4FC

Accessibility & contrast

On white

2.90
#8A8EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#8A8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EF2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EF2#FFFFFF#000000##000000
##8A8EF21.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF6
Deuteranopia (green-blind)
#6394F0
Tritanopia (blue-blind)
#68A2B4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8ef2;
/* rgb */ color: rgb(138, 142, 242);
/* oklch */ color: oklch(68.7% 0.146 280.1);
Tailwind
colors: {
  custom: {
    50: '#b1aff7',
    500: '#8a8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ef2;
$custom-light: #b1aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ef2",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 237.692,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.68691,
    "c": 0.14563,
    "h": 280.1
  },
  "luminance": 0.3116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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