#8A88F7#8A88F7

#8A88F7 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.8% C 0.161 H 282.0°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8A88F7
RGBrgb(138, 136, 247)
HSLhsl(241, 87%, 75%)
HSVhsv(241, 45%, 97%)
CMYKcmyk(44.1%, 44.9%, 0%, 3.1%)
CIE-LABlab(61.42, 28.30, -55.47)
CIE-LCHlch(61.42, 62.28, 297.03°)
OKLaboklab(67.85% 0.0335 -0.1571)
OKLCHoklch(67.85% 0.161 282)
XYZxyz(36.0689, 29.7253, 91.8147)
Luminance0.2973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A88F7 #F5F788
analogous
#88BEF7 #8A88F7 #C188F7
triadic
#8A88F7 #F78A88 #88F78A
tetradic
#8A88F7 #F788BE #F5F788 #88F7C1
square
#8A88F7 #F788BE #F5F788 #88F7C1
split-complementary
#8A88F7 #F7C188 #BEF788
monochromatic
#1915EF #524FF3 #8A88F7 #C2C1FB #E3E2FD

Accessibility & contrast

On white

3.02
#8A88F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#8A88F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A88F7
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A88F7#FFFFFF#000000##000000
##8A88F71.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#5690F4
Tritanopia (blue-blind)
#669FB4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a88f7;
/* rgb */ color: rgb(138, 136, 247);
/* oklch */ color: oklch(67.8% 0.161 282.0);
Tailwind
colors: {
  custom: {
    50: '#b1aafa',
    500: '#8a88f7',
    950: '#000000',
  },
}
SCSS
$custom: #8a88f7;
$custom-light: #b1aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a88f7",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 241.081,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.67845,
    "c": 0.16068,
    "h": 282
  },
  "luminance": 0.29727
}

Semantic roles & 50–950 ramp

primary
#8A88F7
secondary
#F5F5D6
accent
#E402E0
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A88F7

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

Preview Lab → · Contrast checker → · Palette generator →

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