#888AFA#888AFA

#888AFA is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.2% C 0.162 H 280.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#888AFA
RGBrgb(136, 138, 250)
HSLhsl(239, 92%, 76%)
HSVhsv(239, 46%, 98%)
CMYKcmyk(45.6%, 44.8%, 0%, 2%)
CIE-LABlab(61.92, 27.53, -56.33)
CIE-LCHlch(61.92, 62.70, 296.05°)
OKLaboklab(68.24% 0.0294 -0.1597)
OKLCHoklch(68.24% 0.162 280.4)
XYZxyz(36.4919, 30.3115, 94.3518)
Luminance0.3031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888AFA #FAF888
analogous
#88C3FA #888AFA #BF88FA
triadic
#888AFA #FA888A #8AFA88
tetradic
#888AFA #FA88C3 #FAF888 #88FABF
square
#888AFA #FA88C3 #FAF888 #88FABF
split-complementary
#888AFA #FABF88 #C3FA88
monochromatic
#1317F5 #4D50F8 #888AFA #C3C4FC #E2E2FE

Accessibility & contrast

On white

2.97
#888AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#888AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888AFA
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888AFA#FFFFFF#000000##000000
##888AFA1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#5591F7
Tritanopia (blue-blind)
#61A1B6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #888afa;
/* rgb */ color: rgb(136, 138, 250);
/* oklch */ color: oklch(68.2% 0.162 280.4);
Tailwind
colors: {
  custom: {
    50: '#b0acfc',
    500: '#888afa',
    950: '#000000',
  },
}
SCSS
$custom: #888afa;
$custom-light: #b0acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#888afa",
  "rgb": {
    "r": 136,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 238.947,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.68243,
    "c": 0.16235,
    "h": 280.4
  },
  "luminance": 0.30313
}

Semantic roles & 50–950 ramp

primary
#888AFA
secondary
#F6F5D5
accent
#E100E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #888AFA

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

Preview Lab → · Contrast checker → · Palette generator →

#888AFA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva