#9C8EFE#9C8EFE

#9C8EFE is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.7% C 0.160 H 287.3°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#9C8EFE
RGBrgb(156, 142, 254)
HSLhsl(248, 98%, 78%)
HSVhsv(248, 44%, 100%)
CMYKcmyk(38.6%, 44.1%, 0%, 0.4%)
CIE-LABlab(64.62, 31.12, -54.14)
CIE-LCHlch(64.62, 62.44, 299.89°)
OKLaboklab(70.73% 0.0476 -0.1528)
OKLCHoklch(70.73% 0.16 287.3)
XYZxyz(41.2677, 33.5683, 98.0517)
Luminance0.3357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8EFE #F0FE8E
analogous
#8EB8FE #9C8EFE #D48EFE
triadic
#9C8EFE #FE9C8E #8EFE9C
tetradic
#9C8EFE #FE8EB8 #F0FE8E #8EFED4
square
#9C8EFE #FE8EB8 #F0FE8E #8EFED4
split-complementary
#9C8EFE #FED48E #B8FE8E
monochromatic
#3215FD #6751FD #9C8EFE #D1CBFF #E4E1FF

Accessibility & contrast

On white

2.72
#9C8EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#9C8EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8EFE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8EFE#FFFFFF#000000##000000
##9C8EFE1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#659AFB
Tritanopia (blue-blind)
#81A4BA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9c8efe;
/* rgb */ color: rgb(156, 142, 254);
/* oklch */ color: oklch(70.7% 0.160 287.3);
Tailwind
colors: {
  custom: {
    50: '#bdafff',
    500: '#9c8efe',
    950: '#000000',
  },
}
SCSS
$custom: #9c8efe;
$custom-light: #bdafff;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8efe",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 247.5,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.70732,
    "c": 0.16003,
    "h": 287.3
  },
  "luminance": 0.3357
}

Semantic roles & 50–950 ramp

primary
#9C8EFE
secondary
#F3F7D4
accent
#E600C9
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #9C8EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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