#9889FA#9889FA

#9889FA is a light, vivid blue. Relative luminance 0.315; OKLCH L 69.3% C 0.162 H 287.5°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9889FA
RGBrgb(152, 137, 250)
HSLhsl(248, 92%, 76%)
HSVhsv(248, 45%, 98%)
CMYKcmyk(39.2%, 45.2%, 0%, 2%)
CIE-LABlab(62.90, 31.92, -54.70)
CIE-LCHlch(62.90, 63.33, 300.27°)
OKLaboklab(69.29% 0.0487 -0.1545)
OKLCHoklch(69.29% 0.162 287.5)
XYZxyz(39.1451, 31.4676, 94.4353)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9889FA #EBFA89
analogous
#89B2FA #9889FA #D189FA
triadic
#9889FA #FA9889 #89FA98
tetradic
#9889FA #FA89B2 #EBFA89 #89FAD1
square
#9889FA #FA89B2 #EBFA89 #89FAD1
split-complementary
#9889FA #FAD189 #B2FA89
monochromatic
#3214F5 #654EF8 #9889FA #CBC4FC #E5E2FE

Accessibility & contrast

On white

2.88
#9889FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#9889FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9889FA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9889FA#FFFFFF#000000##000000
##9889FA1.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)
#5F9BFE
Deuteranopia (green-blind)
#5E95F7
Tritanopia (blue-blind)
#7DA0B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9889fa;
/* rgb */ color: rgb(152, 137, 250);
/* oklch */ color: oklch(69.3% 0.162 287.5);
Tailwind
colors: {
  custom: {
    50: '#baabfc',
    500: '#9889fa',
    950: '#000000',
  },
}
SCSS
$custom: #9889fa;
$custom-light: #baabfc;
$custom-dark: #000000;
JSON
{
  "hex": "#9889fa",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 250
  },
  "hsl": {
    "h": 247.965,
    "s": 91.87,
    "l": 75.882
  },
  "oklch": {
    "l": 0.69287,
    "c": 0.16201,
    "h": 287.5
  },
  "luminance": 0.31469
}

Semantic roles & 50–950 ramp

primary
#9889FA
secondary
#F2F6D5
accent
#E600C7
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9889FA

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

Preview Lab → · Contrast checker → · Palette generator →

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