#8A8EEC#8A8EEC

#8A8EEC is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.4% C 0.137 H 280.3°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A8EEC
RGBrgb(138, 142, 236)
HSLhsl(238, 72%, 73%)
HSVhsv(238, 42%, 93%)
CMYKcmyk(41.5%, 39.8%, 0%, 7.5%)
CIE-LABlab(62.34, 21.69, -47.94)
CIE-LCHlch(62.34, 52.62, 294.34°)
OKLaboklab(68.36% 0.0245 -0.1351)
OKLCHoklch(68.36% 0.137 280.3)
XYZxyz(35.2901, 30.8039, 83.4269)
Luminance0.3080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EEC #ECE88A
analogous
#8ABFEC #8A8EEC #B78AEC
triadic
#8A8EEC #EC8A8E #8EEC8A
tetradic
#8A8EEC #EC8ABF #ECE88A #8AECB7
square
#8A8EEC #EC8ABF #ECE88A #8AECB7
split-complementary
#8A8EEC #ECB78A #BFEC8A
monochromatic
#232BD8 #555BE3 #8A8EEC #BFC1F5 #E5E6FB

Accessibility & contrast

On white

2.93
#8A8EEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#8A8EEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EEC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EEC#FFFFFF#000000##000000
##8A8EEC1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AF0
Deuteranopia (green-blind)
#6793EA
Tritanopia (blue-blind)
#6BA1B2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a8eec;
/* rgb */ color: rgb(138, 142, 236);
/* oklch */ color: oklch(68.4% 0.137 280.3);
Tailwind
colors: {
  custom: {
    50: '#b0aff2',
    500: '#8a8eec',
    950: '#000000',
  },
}
SCSS
$custom: #8a8eec;
$custom-light: #b0aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8eec",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 237.551,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68365,
    "c": 0.13729,
    "h": 280.3
  },
  "luminance": 0.30805
}

Semantic roles & 50–950 ramp

primary
#8A8EEC
secondary
#F2F1D9
accent
#CC11D4
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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