#8A88FB#8A88FB

#8A88FB is a light, vivid blue. Relative luminance 0.300; OKLCH L 68.1% C 0.166 H 281.8°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A88FB
RGBrgb(138, 136, 251)
HSLhsl(241, 93%, 76%)
HSVhsv(241, 46%, 98%)
CMYKcmyk(45%, 45.8%, 0%, 1.6%)
CIE-LABlab(61.63, 29.45, -57.33)
CIE-LCHlch(61.63, 64.45, 297.19°)
OKLaboklab(68.08% 0.034 -0.1626)
OKLCHoklch(68.08% 0.166 281.8)
XYZxyz(36.6928, 29.9749, 95.1004)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A88FB #F9FB88
analogous
#88BFFB #8A88FB #C388FB
triadic
#8A88FB #FB8A88 #88FB8A
tetradic
#8A88FB #FB88BF #F9FB88 #88FBC3
square
#8A88FB #FB88BF #F9FB88 #88FBC3
split-complementary
#8A88FB #FBC388 #BFFB88
monochromatic
#1612F7 #504DF9 #8A88FB #C4C3FD #E2E1FE

Accessibility & contrast

On white

3.00
#8A88FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8A88FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A88FB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A88FB#FFFFFF#000000##000000
##8A88FB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#5291F8
Tritanopia (blue-blind)
#64A0B5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a88fb;
/* rgb */ color: rgb(138, 136, 251);
/* oklch */ color: oklch(68.1% 0.166 281.8);
Tailwind
colors: {
  custom: {
    50: '#b2aafd',
    500: '#8a88fb',
    950: '#000000',
  },
}
SCSS
$custom: #8a88fb;
$custom-light: #b2aafd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a88fb",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 251
  },
  "hsl": {
    "h": 241.043,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.68078,
    "c": 0.16611,
    "h": 281.8
  },
  "luminance": 0.29977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A88FB

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

Preview Lab → · Contrast checker → · Palette generator →

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