#9889EA#9889EA

#9889EA is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.4% C 0.140 H 289.2°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#9889EA
RGBrgb(152, 137, 234)
HSLhsl(249, 70%, 73%)
HSVhsv(249, 41%, 92%)
CMYKcmyk(35%, 41.5%, 0%, 8.2%)
CIE-LABlab(62.09, 27.64, -47.16)
CIE-LCHlch(62.09, 54.67, 300.38°)
OKLaboklab(68.41% 0.0463 -0.1325)
OKLCHoklch(68.41% 0.14 289.2)
XYZxyz(36.7419, 30.5063, 81.7784)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9889EA #DBEA89
analogous
#89ABEA #9889EA #C889EA
triadic
#9889EA #EA9889 #89EA98
tetradic
#9889EA #EA89AB #DBEA89 #89EAC8
square
#9889EA #EA89AB #DBEA89 #89EAC8
split-complementary
#9889EA #EAC889 #ABEA89
monochromatic
#4026D3 #6B55E1 #9889EA #C5BDF3 #E8E5FA

Accessibility & contrast

On white

2.96
#9889EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#9889EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9889EA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9889EA#FFFFFF#000000##000000
##9889EA1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EE
Deuteranopia (green-blind)
#6A94E8
Tritanopia (blue-blind)
#839BAE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #9889ea;
/* rgb */ color: rgb(152, 137, 234);
/* oklch */ color: oklch(68.4% 0.140 289.2);
Tailwind
colors: {
  custom: {
    50: '#b9abf1',
    500: '#9889ea',
    950: '#000000',
  },
}
SCSS
$custom: #9889ea;
$custom-light: #b9abf1;
$custom-dark: #000000;
JSON
{
  "hex": "#9889ea",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 234
  },
  "hsl": {
    "h": 249.278,
    "s": 69.784,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68408,
    "c": 0.14038,
    "h": 289.2
  },
  "luminance": 0.30507
}

Semantic roles & 50–950 ramp

primary
#9889EA
secondary
#EEF2D9
accent
#D214B4
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9889EA

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

Preview Lab → · Contrast checker → · Palette generator →

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