#8A88DB#8A88DB

#8A88DB is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.3% C 0.122 H 283.7°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8A88DB
RGBrgb(138, 136, 219)
HSLhsl(241, 54%, 70%)
HSVhsv(241, 38%, 86%)
CMYKcmyk(37%, 37.9%, 0%, 14.1%)
CIE-LABlab(60.00, 20.49, -42.19)
CIE-LCHlch(60.00, 46.90, 295.91°)
OKLaboklab(66.31% 0.0288 -0.1184)
OKLCHoklch(66.31% 0.122 283.7)
XYZxyz(32.0680, 28.1250, 70.7431)
Luminance0.2813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A88DB #D9DB88
analogous
#88B0DB #8A88DB #B488DB
triadic
#8A88DB #DB8A88 #88DB8A
tetradic
#8A88DB #DB88B0 #D9DB88 #88DBB4
square
#8A88DB #DB88B0 #D9DB88 #88DBB4
split-complementary
#8A88DB #DBB488 #B0DB88
monochromatic
#3936B3 #5C59CD #8A88DB #B8B7E9 #E6E6F7

Accessibility & contrast

On white

3.17
#8A88DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#8A88DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A88DB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A88DB#FFFFFF#000000##000000
##8A88DB1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D93DE
Deuteranopia (green-blind)
#6A8ED9
Tritanopia (blue-blind)
#7498A7
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a88db;
/* rgb */ color: rgb(138, 136, 219);
/* oklch */ color: oklch(66.3% 0.122 283.7);
Tailwind
colors: {
  custom: {
    50: '#afaae6',
    500: '#8a88db',
    950: '#000000',
  },
}
SCSS
$custom: #8a88db;
$custom-light: #afaae6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a88db",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 219
  },
  "hsl": {
    "h": 241.446,
    "s": 53.548,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66306,
    "c": 0.1218,
    "h": 283.7
  },
  "luminance": 0.28126
}

Semantic roles & 50–950 ramp

primary
#8A88DB
secondary
#EBEBD4
accent
#C124BD
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A88DB

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

Preview Lab → · Contrast checker → · Palette generator →

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