#8A8EFC#8A8EFC

#8A8EFC is a light, vivid blue. Relative luminance 0.318; OKLCH L 69.3% C 0.159 H 279.8°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8A8EFC
RGBrgb(138, 142, 252)
HSLhsl(238, 95%, 76%)
HSVhsv(238, 45%, 99%)
CMYKcmyk(45.2%, 43.7%, 0%, 1.2%)
CIE-LABlab(63.16, 26.24, -55.45)
CIE-LCHlch(63.16, 61.34, 295.32°)
OKLaboklab(69.25% 0.0271 -0.157)
OKLCHoklch(69.25% 0.159 279.8)
XYZxyz(37.7196, 31.7757, 96.2224)
Luminance0.3178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EFC #FCF88A
analogous
#8AC7FC #8A8EFC #BF8AFC
triadic
#8A8EFC #FC8A8E #8EFC8A
tetradic
#8A8EFC #FC8AC7 #FCF88A #8AFCBF
square
#8A8EFC #FC8AC7 #FCF88A #8AFCBF
split-complementary
#8A8EFC #FCBF8A #C7FC8A
monochromatic
#131BF9 #4E54FA #8A8EFC #C6C8FE #E1E2FE

Accessibility & contrast

On white

2.85
#8A8EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#8A8EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EFC
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EFC#FFFFFF#000000##000000
##8A8EFC1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#5B95FA
Tritanopia (blue-blind)
#63A5B9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a8efc;
/* rgb */ color: rgb(138, 142, 252);
/* oklch */ color: oklch(69.3% 0.159 279.8);
Tailwind
colors: {
  custom: {
    50: '#b2affe',
    500: '#8a8efc',
    950: '#000000',
  },
}
SCSS
$custom: #8a8efc;
$custom-light: #b2affe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8efc",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 252
  },
  "hsl": {
    "h": 237.895,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.69251,
    "c": 0.15937,
    "h": 279.8
  },
  "luminance": 0.31778
}

Semantic roles & 50–950 ramp

primary
#8A8EFC
secondary
#F6F5D5
accent
#DD00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A8EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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