#9C8FFE#9C8FFE

#9C8FFE is a light, vivid blue. Relative luminance 0.339; OKLCH L 70.9% C 0.159 H 287.0°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#9C8FFE
RGBrgb(156, 143, 254)
HSLhsl(247, 98%, 78%)
HSVhsv(247, 44%, 100%)
CMYKcmyk(38.6%, 43.7%, 0%, 0.4%)
CIE-LABlab(64.86, 30.55, -53.76)
CIE-LCHlch(64.86, 61.83, 299.61°)
OKLaboklab(70.91% 0.0464 -0.1517)
OKLCHoklch(70.91% 0.159 287)
XYZxyz(41.4172, 33.8672, 98.1015)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8FFE #F1FE8F
analogous
#8FB9FE #9C8FFE #D38FFE
triadic
#9C8FFE #FE9C8F #8FFE9C
tetradic
#9C8FFE #FE8FB9 #F1FE8F #8FFED3
square
#9C8FFE #FE8FB9 #F1FE8F #8FFED3
split-complementary
#9C8FFE #FED38F #B9FE8F
monochromatic
#3116FD #6652FD #9C8FFE #D2CCFF #E4E1FF

Accessibility & contrast

On white

2.70
#9C8FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#9C8FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8FFE
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8FFE#FFFFFF#000000##000000
##9C8FFE1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#67A0FF
Deuteranopia (green-blind)
#669AFB
Tritanopia (blue-blind)
#81A5BA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9c8ffe;
/* rgb */ color: rgb(156, 143, 254);
/* oklch */ color: oklch(70.9% 0.159 287.0);
Tailwind
colors: {
  custom: {
    50: '#bdb0ff',
    500: '#9c8ffe',
    950: '#000000',
  },
}
SCSS
$custom: #9c8ffe;
$custom-light: #bdb0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8ffe",
  "rgb": {
    "r": 156,
    "g": 143,
    "b": 254
  },
  "hsl": {
    "h": 247.027,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.70912,
    "c": 0.1586,
    "h": 287
  },
  "luminance": 0.33869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C8FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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