#8A8DFE#8A8DFE

#8A8DFE is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.2% C 0.163 H 280.1°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8A8DFE
RGBrgb(138, 141, 254)
HSLhsl(238, 98%, 77%)
HSVhsv(238, 46%, 100%)
CMYKcmyk(45.7%, 44.5%, 0%, 0.4%)
CIE-LABlab(63.02, 27.40, -56.77)
CIE-LCHlch(63.02, 63.03, 295.76°)
OKLaboklab(69.18% 0.0286 -0.1609)
OKLCHoklch(69.18% 0.163 280.1)
XYZxyz(37.8901, 31.6069, 97.8510)
Luminance0.3161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8DFE #FEFB8A
analogous
#8AC7FE #8A8DFE #C18AFE
triadic
#8A8DFE #FE8A8D #8DFE8A
tetradic
#8A8DFE #FE8AC7 #FEFB8A #8AFEC1
square
#8A8DFE #FE8AC7 #FEFB8A #8AFEC1
split-complementary
#8A8DFE #FEC18A #C7FE8A
monochromatic
#1117FD #4D52FD #8A8DFE #C7C8FF #E1E1FF

Accessibility & contrast

On white

2.87
#8A8DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#8A8DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8DFE
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8DFE#FFFFFF#000000##000000
##8A8DFE1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#5894FB
Tritanopia (blue-blind)
#62A5B9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a8dfe;
/* rgb */ color: rgb(138, 141, 254);
/* oklch */ color: oklch(69.2% 0.163 280.1);
Tailwind
colors: {
  custom: {
    50: '#b2aeff',
    500: '#8a8dfe',
    950: '#000000',
  },
}
SCSS
$custom: #8a8dfe;
$custom-light: #b2aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8dfe",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 238.448,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.69179,
    "c": 0.16343,
    "h": 280.1
  },
  "luminance": 0.31609
}

Semantic roles & 50–950 ramp

primary
#8A8DFE
secondary
#F7F6D4
accent
#E000E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A8DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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