#8A8EFA#8A8EFA

#8A8EFA is a light, vivid blue. Relative luminance 0.317; OKLCH L 69.1% C 0.157 H 279.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#8A8EFA
RGBrgb(138, 142, 250)
HSLhsl(238, 92%, 76%)
HSVhsv(238, 45%, 98%)
CMYKcmyk(44.8%, 43.2%, 0%, 2%)
CIE-LABlab(63.05, 25.67, -54.52)
CIE-LCHlch(63.05, 60.26, 295.21°)
OKLaboklab(69.14% 0.0268 -0.1543)
OKLCHoklch(69.14% 0.157 279.9)
XYZxyz(37.4044, 31.6496, 94.5620)
Luminance0.3165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EFA #FAF68A
analogous
#8AC6FA #8A8EFA #BE8AFA
triadic
#8A8EFA #FA8A8E #8EFA8A
tetradic
#8A8EFA #FA8AC6 #FAF68A #8AFABE
square
#8A8EFA #FA8AC6 #FAF68A #8AFABE
split-complementary
#8A8EFA #FABE8A #C6FA8A
monochromatic
#151DF5 #4F55F7 #8A8EFA #C5C7FD #E2E3FE

Accessibility & contrast

On white

2.86
#8A8EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#8A8EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EFA
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EFA#FFFFFF#000000##000000
##8A8EFA1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFE
Deuteranopia (green-blind)
#5C95F8
Tritanopia (blue-blind)
#64A4B8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a8efa;
/* rgb */ color: rgb(138, 142, 250);
/* oklch */ color: oklch(69.1% 0.157 279.9);
Tailwind
colors: {
  custom: {
    50: '#b1affc',
    500: '#8a8efa',
    950: '#000000',
  },
}
SCSS
$custom: #8a8efa;
$custom-light: #b1affc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8efa",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 237.857,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.69138,
    "c": 0.15663,
    "h": 279.9
  },
  "luminance": 0.31651
}

Semantic roles & 50–950 ramp

primary
#8A8EFA
secondary
#F6F5D5
accent
#DD00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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