#8A88FE#8A88FE

#8A88FE is a light, vivid blue. Relative luminance 0.302; OKLCH L 68.3% C 0.170 H 281.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8A88FE
RGBrgb(138, 136, 254)
HSLhsl(241, 98%, 76%)
HSVhsv(241, 46%, 100%)
CMYKcmyk(45.7%, 46.5%, 0%, 0.4%)
CIE-LABlab(61.80, 30.31, -58.71)
CIE-LCHlch(61.80, 66.07, 297.30°)
OKLaboklab(68.26% 0.0344 -0.1666)
OKLCHoklch(68.26% 0.17 281.7)
XYZxyz(37.1694, 30.1655, 97.6107)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A88FE #FCFE88
analogous
#88C1FE #8A88FE #C588FE
triadic
#8A88FE #FE8A88 #88FE8A
tetradic
#8A88FE #FE88C1 #FCFE88 #88FEC5
square
#8A88FE #FE88C1 #FCFE88 #88FEC5
split-complementary
#8A88FE #FEC588 #C1FE88
monochromatic
#130FFD #4E4BFD #8A88FE #C6C5FF #E1E1FF

Accessibility & contrast

On white

2.99
#8A88FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#8A88FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A88FE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A88FE#FFFFFF#000000##000000
##8A88FE1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#579AFF
Deuteranopia (green-blind)
#5091FB
Tritanopia (blue-blind)
#62A1B7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a88fe;
/* rgb */ color: rgb(138, 136, 254);
/* oklch */ color: oklch(68.3% 0.170 281.7);
Tailwind
colors: {
  custom: {
    50: '#b2aaff',
    500: '#8a88fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a88fe;
$custom-light: #b2aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a88fe",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 241.017,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.68256,
    "c": 0.17016,
    "h": 281.7
  },
  "luminance": 0.30167
}

Semantic roles & 50–950 ramp

primary
#8A88FE
secondary
#F6F7D4
accent
#E600E2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A88FE

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

Preview Lab → · Contrast checker → · Palette generator →

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