#8A8EFF#8A8EFF

#8A8EFF is a light, vivid blue. Relative luminance 0.320; OKLCH L 69.4% C 0.163 H 279.7°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#8A8EFF
RGBrgb(138, 142, 255)
HSLhsl(238, 100%, 77%)
HSVhsv(238, 46%, 100%)
CMYKcmyk(45.9%, 44.3%, 0%, 0%)
CIE-LABlab(63.32, 27.11, -56.84)
CIE-LCHlch(63.32, 62.97, 295.50°)
OKLaboklab(69.42% 0.0276 -0.1611)
OKLCHoklch(69.42% 0.163 279.7)
XYZxyz(38.1988, 31.9673, 98.7459)
Luminance0.3197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EFF #FFFB8A
analogous
#8AC8FF #8A8EFF #C18AFF
triadic
#8A8EFF #FF8A8E #8EFF8A
tetradic
#8A8EFF #FF8AC8 #FFFB8A #8AFFC1
square
#8A8EFF #FF8AC8 #FFFB8A #8AFFC1
split-complementary
#8A8EFF #FFC18A #C8FF8A
monochromatic
#1018FF #4D53FF #8A8EFF #C7C9FF #E0E1FF

Accessibility & contrast

On white

2.84
#8A8EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#8A8EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EFF
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EFF#FFFFFF#000000##000000
##8A8EFF1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#619EFF
Deuteranopia (green-blind)
#5895FC
Tritanopia (blue-blind)
#61A6BA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a8eff;
/* rgb */ color: rgb(138, 142, 255);
/* oklch */ color: oklch(69.4% 0.163 279.7);
Tailwind
colors: {
  custom: {
    50: '#b2afff',
    500: '#8a8eff',
    950: '#000000',
  },
}
SCSS
$custom: #8a8eff;
$custom-light: #b2afff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8eff",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 237.949,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.69424,
    "c": 0.16345,
    "h": 279.7
  },
  "luminance": 0.31969
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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