#8A8FEE#8A8FEE

#8A8FEE is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.7% C 0.139 H 279.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8A8FEE
RGBrgb(138, 143, 238)
HSLhsl(237, 75%, 74%)
HSVhsv(237, 42%, 93%)
CMYKcmyk(42%, 39.9%, 0%, 6.7%)
CIE-LABlab(62.69, 21.67, -48.49)
CIE-LCHlch(62.69, 53.11, 294.08°)
OKLaboklab(68.66% 0.0236 -0.1367)
OKLCHoklch(68.66% 0.139 279.8)
XYZxyz(35.7317, 31.2196, 85.0156)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FEE #EEE98A
analogous
#8AC1EE #8A8FEE #B78AEE
triadic
#8A8FEE #EE8A8F #8FEE8A
tetradic
#8A8FEE #EE8AC1 #EEE98A #8AEEB7
square
#8A8FEE #EE8AC1 #EEE98A #8AEEB7
split-complementary
#8A8FEE #EEB78A #C1EE8A
monochromatic
#202ADD #555CE6 #8A8FEE #BFC2F6 #E4E5FB

Accessibility & contrast

On white

2.90
#8A8FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#8A8FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FEE
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FEE#FFFFFF#000000##000000
##8A8FEE1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9BF2
Deuteranopia (green-blind)
#6794EC
Tritanopia (blue-blind)
#6AA2B3
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a8fee;
/* rgb */ color: rgb(138, 143, 238);
/* oklch */ color: oklch(68.7% 0.139 279.8);
Tailwind
colors: {
  custom: {
    50: '#b0aff4',
    500: '#8a8fee',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fee;
$custom-light: #b0aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fee",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 237,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.68665,
    "c": 0.13871,
    "h": 279.8
  },
  "luminance": 0.31221
}

Semantic roles & 50–950 ramp

primary
#8A8FEE
secondary
#F3F1D8
accent
#CD0FD7
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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