#9C8EE8#9C8EE8

#9C8EE8 is a light, vivid blue. Relative luminance 0.322; OKLCH L 69.6% C 0.130 H 289.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9C8EE8
RGBrgb(156, 142, 232)
HSLhsl(249, 66%, 73%)
HSVhsv(249, 39%, 91%)
CMYKcmyk(32.8%, 38.8%, 0%, 9%)
CIE-LABlab(63.54, 25.32, -43.75)
CIE-LCHlch(63.54, 50.55, 300.06°)
OKLaboklab(69.56% 0.0439 -0.1225)
OKLCHoklch(69.56% 0.13 289.7)
XYZxyz(37.9450, 32.2392, 80.5519)
Luminance0.3224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8EE8 #DAE88E
analogous
#8EADE8 #9C8EE8 #C98EE8
triadic
#9C8EE8 #E89C8E #8EE89C
tetradic
#9C8EE8 #E88EAD #DAE88E #8EE8C9
square
#9C8EE8 #E88EAD #DAE88E #8EE8C9
split-complementary
#9C8EE8 #E8C98E #ADE88E
monochromatic
#442BD1 #6F5BDE #9C8EE8 #C9C1F2 #E9E6FA

Accessibility & contrast

On white

2.82
#9C8EE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#9C8EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8EE8
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8EE8#FFFFFF#000000##000000
##9C8EE81.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#739CEB
Deuteranopia (green-blind)
#7398E6
Tritanopia (blue-blind)
#8A9FB0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9c8ee8;
/* rgb */ color: rgb(156, 142, 232);
/* oklch */ color: oklch(69.6% 0.130 289.7);
Tailwind
colors: {
  custom: {
    50: '#bbafef',
    500: '#9c8ee8',
    950: '#000000',
  },
}
SCSS
$custom: #9c8ee8;
$custom-light: #bbafef;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8ee8",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 232
  },
  "hsl": {
    "h": 249.333,
    "s": 66.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69561,
    "c": 0.13014,
    "h": 289.7
  },
  "luminance": 0.3224
}

Semantic roles & 50–950 ramp

primary
#9C8EE8
secondary
#EEF1DA
accent
#CE17B2
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #9C8EE8

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

Preview Lab → · Contrast checker → · Palette generator →

#9C8EE8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva