#9888FA#9888FA

#9888FA is a light, vivid blue. Relative luminance 0.312; OKLCH L 69.1% C 0.163 H 287.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#9888FA
RGBrgb(152, 136, 250)
HSLhsl(248, 92%, 76%)
HSVhsv(248, 46%, 98%)
CMYKcmyk(39.2%, 45.6%, 0%, 2%)
CIE-LABlab(62.66, 32.49, -55.07)
CIE-LCHlch(62.66, 63.94, 300.54°)
OKLaboklab(69.11% 0.0499 -0.1556)
OKLCHoklch(69.11% 0.163 287.8)
XYZxyz(39.0036, 31.1846, 94.3881)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9888FA #EAFA88
analogous
#88B1FA #9888FA #D188FA
triadic
#9888FA #FA9888 #88FA98
tetradic
#9888FA #FA88B1 #EAFA88 #88FAD1
square
#9888FA #FA88B1 #EAFA88 #88FAD1
split-complementary
#9888FA #FAD188 #B1FA88
monochromatic
#3213F5 #654DF8 #9888FA #CBC3FC #E6E2FE

Accessibility & contrast

On white

2.90
#9888FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#9888FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9888FA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9888FA#FFFFFF#000000##000000
##9888FA1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFE
Deuteranopia (green-blind)
#5D95F7
Tritanopia (blue-blind)
#7D9FB5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9888fa;
/* rgb */ color: rgb(152, 136, 250);
/* oklch */ color: oklch(69.1% 0.163 287.8);
Tailwind
colors: {
  custom: {
    50: '#baabfc',
    500: '#9888fa',
    950: '#000000',
  },
}
SCSS
$custom: #9888fa;
$custom-light: #baabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#9888fa",
  "rgb": {
    "r": 152,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 248.421,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69108,
    "c": 0.16344,
    "h": 287.8
  },
  "luminance": 0.31186
}

Semantic roles & 50–950 ramp

primary
#9888FA
secondary
#F1F6D5
accent
#E600C5
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9888FA

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

Preview Lab → · Contrast checker → · Palette generator →

#9888FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva