#9888FE#9888FE

#9888FE is a light, vivid blue. Relative luminance 0.314; OKLCH L 69.3% C 0.169 H 287.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9888FE
RGBrgb(152, 136, 254)
HSLhsl(248, 98%, 76%)
HSVhsv(248, 46%, 100%)
CMYKcmyk(40.2%, 46.5%, 0%, 0.4%)
CIE-LABlab(62.88, 33.58, -56.93)
CIE-LCHlch(62.88, 66.09, 300.53°)
OKLaboklab(69.34% 0.0504 -0.1611)
OKLCHoklch(69.34% 0.169 287.4)
XYZxyz(39.6374, 31.4381, 97.7264)
Luminance0.3144 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9888FE #EEFE88
analogous
#88B3FE #9888FE #D388FE
triadic
#9888FE #FE9888 #88FE98
tetradic
#9888FE #FE88B3 #EEFE88 #88FED3
square
#9888FE #FE88B3 #EEFE88 #88FED3
split-complementary
#9888FE #FED388 #B3FE88
monochromatic
#2F0FFD #634BFD #9888FE #CDC5FF #E5E1FF

Accessibility & contrast

On white

2.88
#9888FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#9888FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9888FE
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9888FE#FFFFFF#000000##000000
##9888FE1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#5A95FB
Tritanopia (blue-blind)
#7BA0B7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9888fe;
/* rgb */ color: rgb(152, 136, 254);
/* oklch */ color: oklch(69.3% 0.169 287.4);
Tailwind
colors: {
  custom: {
    50: '#bbabff',
    500: '#9888fe',
    950: '#000000',
  },
}
SCSS
$custom: #9888fe;
$custom-light: #bbabff;
$custom-dark: #000000;
JSON
{
  "hex": "#9888fe",
  "rgb": {
    "r": 152,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 248.136,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.69337,
    "c": 0.16877,
    "h": 287.4
  },
  "luminance": 0.31439
}

Semantic roles & 50–950 ramp

primary
#9888FE
secondary
#F2F7D4
accent
#E600C6
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #9888FE

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

Preview Lab → · Contrast checker → · Palette generator →

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