#8A8FFE#8A8FFE

#8A8FFE is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.6% C 0.161 H 279.4°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8A8FFE
RGBrgb(138, 143, 254)
HSLhsl(237, 98%, 77%)
HSVhsv(237, 46%, 100%)
CMYKcmyk(45.7%, 43.7%, 0%, 0.4%)
CIE-LABlab(63.51, 26.23, -55.98)
CIE-LCHlch(63.51, 61.83, 295.11°)
OKLaboklab(69.55% 0.0263 -0.1586)
OKLCHoklch(69.55% 0.161 279.4)
XYZxyz(38.1877, 32.2020, 97.9501)
Luminance0.3220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FFE #FEF98A
analogous
#8AC9FE #8A8FFE #BF8AFE
triadic
#8A8FFE #FE8A8F #8FFE8A
tetradic
#8A8FFE #FE8AC9 #FEF98A #8AFEBF
square
#8A8FFE #FE8AC9 #FEF98A #8AFEBF
split-complementary
#8A8FFE #FEBF8A #C9FE8A
monochromatic
#111BFD #4D55FD #8A8FFE #C7C9FF #E1E2FF

Accessibility & contrast

On white

2.82
#8A8FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#8A8FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FFE
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FFE#FFFFFF#000000##000000
##8A8FFE1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#5B96FB
Tritanopia (blue-blind)
#61A6BA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8a8ffe;
/* rgb */ color: rgb(138, 143, 254);
/* oklch */ color: oklch(69.6% 0.161 279.4);
Tailwind
colors: {
  custom: {
    50: '#b2afff',
    500: '#8a8ffe',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ffe;
$custom-light: #b2afff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ffe",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 237.414,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.69554,
    "c": 0.16076,
    "h": 279.4
  },
  "luminance": 0.32204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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