#8A8CE3#8A8CE3

#8A8CE3 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.5% C 0.127 H 281.4°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8A8CE3
RGBrgb(138, 140, 227)
HSLhsl(239, 61%, 72%)
HSVhsv(239, 39%, 89%)
CMYKcmyk(39.2%, 38.3%, 0%, 11%)
CIE-LABlab(61.40, 20.35, -44.44)
CIE-LCHlch(61.40, 48.88, 294.60°)
OKLaboklab(67.5% 0.0252 -0.1249)
OKLCHoklch(67.5% 0.127 281.4)
XYZxyz(33.7204, 29.7042, 76.6149)
Luminance0.2970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CE3 #E3E18A
analogous
#8AB9E3 #8A8CE3 #B58AE3
triadic
#8A8CE3 #E38A8C #8CE38A
tetradic
#8A8CE3 #E38AB9 #E3E18A #8AE3B5
square
#8A8CE3 #E38AB9 #E3E18A #8AE3B5
split-complementary
#8A8CE3 #E3B58A #B9E38A
monochromatic
#2F32C4 #595BD7 #8A8CE3 #BBBDEF #E6E7F9

Accessibility & contrast

On white

3.03
#8A8CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#8A8CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CE3
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CE3#FFFFFF#000000##000000
##8A8CE31.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E6
Deuteranopia (green-blind)
#6A91E1
Tritanopia (blue-blind)
#709DAD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8ce3;
/* rgb */ color: rgb(138, 140, 227);
/* oklch */ color: oklch(67.5% 0.127 281.4);
Tailwind
colors: {
  custom: {
    50: '#afadec',
    500: '#8a8ce3',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ce3;
$custom-light: #afadec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ce3",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 227
  },
  "hsl": {
    "h": 238.652,
    "s": 61.379,
    "l": 71.569
  },
  "oklch": {
    "l": 0.675,
    "c": 0.12744,
    "h": 281.4
  },
  "luminance": 0.29705
}

Semantic roles & 50–950 ramp

primary
#8A8CE3
secondary
#F0EFD9
accent
#C51CC9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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