#8A8EF3#8A8EF3

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

Color values

HEX#8A8EF3
RGBrgb(138, 142, 243)
HSLhsl(238, 81%, 75%)
HSVhsv(238, 43%, 95%)
CMYKcmyk(43.2%, 41.6%, 0%, 4.7%)
CIE-LABlab(62.69, 23.67, -51.25)
CIE-LCHlch(62.69, 56.45, 294.79°)
OKLaboklab(68.75% 0.0257 -0.1447)
OKLCHoklch(68.75% 0.147 280.1)
XYZxyz(36.3271, 31.2187, 88.8883)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EF3 #F3EF8A
analogous
#8AC3F3 #8A8EF3 #BA8AF3
triadic
#8A8EF3 #F38A8E #8EF38A
tetradic
#8A8EF3 #F38AC3 #F3EF8A #8AF3BA
square
#8A8EF3 #F38AC3 #F3EF8A #8AF3BA
split-complementary
#8A8EF3 #F3BA8A #C3F38A
monochromatic
#1B23E8 #5258ED #8A8EF3 #C2C4F9 #E3E4FC

Accessibility & contrast

On white

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

On black

7.24
#8A8EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EF3
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EF3#FFFFFF#000000##000000
##8A8EF31.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#689CF7
Deuteranopia (green-blind)
#6294F1
Tritanopia (blue-blind)
#68A3B5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a8ef3;
/* rgb */ color: rgb(138, 142, 243);
/* oklch */ color: oklch(68.7% 0.147 280.1);
Tailwind
colors: {
  custom: {
    50: '#b1aff7',
    500: '#8a8ef3',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ef3;
$custom-light: #b1aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ef3",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 237.714,
    "s": 81.395,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68746,
    "c": 0.14701,
    "h": 280.1
  },
  "luminance": 0.3122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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