#8988F2#8988F2

#8988F2 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.5% C 0.154 H 281.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8988F2
RGBrgb(137, 136, 242)
HSLhsl(241, 80%, 74%)
HSVhsv(241, 44%, 95%)
CMYKcmyk(43.4%, 43.8%, 0%, 5.1%)
CIE-LABlab(61.08, 26.64, -53.26)
CIE-LCHlch(61.08, 59.55, 296.57°)
OKLaboklab(67.48% 0.0317 -0.1507)
OKLCHoklch(67.48% 0.154 281.9)
XYZxyz(35.1430, 29.3359, 87.7979)
Luminance0.2934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8988F2 #F1F288
analogous
#88BCF2 #8988F2 #BE88F2
triadic
#8988F2 #F28988 #88F289
tetradic
#8988F2 #F288BC #F1F288 #88F2BE
square
#8988F2 #F288BC #F1F288 #88F2BE
split-complementary
#8988F2 #F2BE88 #BCF288
monochromatic
#1C1AE6 #5251EC #8988F2 #C0BFF8 #E4E3FC

Accessibility & contrast

On white

3.06
#8988F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#8988F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8988F2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8988F2#FFFFFF#000000##000000
##8988F21.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F6
Deuteranopia (green-blind)
#5A90F0
Tritanopia (blue-blind)
#679EB1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8988f2;
/* rgb */ color: rgb(137, 136, 242);
/* oklch */ color: oklch(67.5% 0.154 281.9);
Tailwind
colors: {
  custom: {
    50: '#b0aaf7',
    500: '#8988f2',
    950: '#000000',
  },
}
SCSS
$custom: #8988f2;
$custom-light: #b0aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8988f2",
  "rgb": {
    "r": 137,
    "g": 136,
    "b": 242
  },
  "hsl": {
    "h": 240.566,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67482,
    "c": 0.15399,
    "h": 281.9
  },
  "luminance": 0.29337
}

Semantic roles & 50–950 ramp

primary
#8988F2
secondary
#F4F4D7
accent
#DD09DB
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8988F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8988F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva