#8A8EFD#8A8EFD

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

Color values

HEX#8A8EFD
RGBrgb(138, 142, 253)
HSLhsl(238, 97%, 77%)
HSVhsv(238, 45%, 99%)
CMYKcmyk(45.5%, 43.9%, 0%, 0.8%)
CIE-LABlab(63.21, 26.53, -55.91)
CIE-LCHlch(63.21, 61.89, 295.38°)
OKLaboklab(69.31% 0.0273 -0.1584)
OKLCHoklch(69.31% 0.161 279.8)
XYZxyz(37.8785, 31.8392, 97.0592)
Luminance0.3184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EFD #FDF98A
analogous
#8AC8FD #8A8EFD #C08AFD
triadic
#8A8EFD #FD8A8E #8EFD8A
tetradic
#8A8EFD #FD8AC8 #FDF98A #8AFDC0
square
#8A8EFD #FD8AC8 #FDF98A #8AFDC0
split-complementary
#8A8EFD #FDC08A #C8FD8A
monochromatic
#121AFB #4E54FC #8A8EFD #C6C8FE #E1E2FE

Accessibility & contrast

On white

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

On black

7.37
#8A8EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EFD
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EFD#FFFFFF#000000##000000
##8A8EFD1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#5A95FA
Tritanopia (blue-blind)
#62A5B9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a8efd;
/* rgb */ color: rgb(138, 142, 253);
/* oklch */ color: oklch(69.3% 0.161 279.8);
Tailwind
colors: {
  custom: {
    50: '#b2affe',
    500: '#8a8efd',
    950: '#000000',
  },
}
SCSS
$custom: #8a8efd;
$custom-light: #b2affe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8efd",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 237.913,
    "s": 96.639,
    "l": 76.667
  },
  "oklch": {
    "l": 0.69309,
    "c": 0.16073,
    "h": 279.8
  },
  "luminance": 0.31841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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