#8A88DF#8A88DF

#8A88DF is a light, vivid blue. Relative luminance 0.283; OKLCH L 66.5% C 0.127 H 283.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8A88DF
RGBrgb(138, 136, 223)
HSLhsl(241, 58%, 70%)
HSVhsv(241, 39%, 87%)
CMYKcmyk(38.1%, 39%, 0%, 12.5%)
CIE-LABlab(60.19, 21.58, -44.12)
CIE-LCHlch(60.19, 49.11, 296.07°)
OKLaboklab(66.52% 0.0296 -0.124)
OKLCHoklch(66.52% 0.127 283.4)
XYZxyz(32.6009, 28.3381, 73.5498)
Luminance0.2834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A88DF #DDDF88
analogous
#88B2DF #8A88DF #B588DF
triadic
#8A88DF #DF8A88 #88DF8A
tetradic
#8A88DF #DF88B2 #DDDF88 #88DFB5
square
#8A88DF #DF88B2 #DDDF88 #88DFB5
split-complementary
#8A88DF #DFB588 #B2DF88
monochromatic
#3532BA #5B58D2 #8A88DF #B9B8EC #E7E7F9

Accessibility & contrast

On white

3.15
#8A88DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#8A88DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A88DF
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A88DF#FFFFFF#000000##000000
##8A88DF1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B94E2
Deuteranopia (green-blind)
#678EDD
Tritanopia (blue-blind)
#7299A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a88df;
/* rgb */ color: rgb(138, 136, 223);
/* oklch */ color: oklch(66.5% 0.127 283.4);
Tailwind
colors: {
  custom: {
    50: '#afaae9',
    500: '#8a88df',
    950: '#000000',
  },
}
SCSS
$custom: #8a88df;
$custom-light: #afaae9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a88df",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 223
  },
  "hsl": {
    "h": 241.379,
    "s": 57.616,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66515,
    "c": 0.12745,
    "h": 283.4
  },
  "luminance": 0.28339
}

Semantic roles & 50–950 ramp

primary
#8A88DF
secondary
#EDEDD5
accent
#C520C1
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A88DF

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

Preview Lab → · Contrast checker → · Palette generator →

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