#9C8EFF#9C8EFF

#9C8EFF is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.8% C 0.161 H 287.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#9C8EFF
RGBrgb(156, 142, 255)
HSLhsl(247, 100%, 78%)
HSVhsv(247, 44%, 100%)
CMYKcmyk(38.8%, 44.3%, 0%, 0%)
CIE-LABlab(64.67, 31.39, -54.60)
CIE-LCHlch(64.67, 62.98, 299.89°)
OKLaboklab(70.79% 0.0477 -0.1541)
OKLCHoklch(70.79% 0.161 287.2)
XYZxyz(41.4283, 33.6326, 98.8973)
Luminance0.3363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8EFF #F1FF8E
analogous
#8EB8FF #9C8EFF #D58EFF
triadic
#9C8EFF #FF9C8E #8EFF9C
tetradic
#9C8EFF #FF8EB8 #F1FF8E #8EFFD5
square
#9C8EFF #FF8EB8 #F1FF8E #8EFFD5
split-complementary
#9C8EFF #FFD58E #B8FF8E
monochromatic
#3114FF #6651FF #9C8EFF #D2CBFF #E4E0FF

Accessibility & contrast

On white

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

On black

7.73
#9C8EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8EFF
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8EFF#FFFFFF#000000##000000
##9C8EFF1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#65A0FF
Deuteranopia (green-blind)
#649AFC
Tritanopia (blue-blind)
#81A4BA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9c8eff;
/* rgb */ color: rgb(156, 142, 255);
/* oklch */ color: oklch(70.8% 0.161 287.2);
Tailwind
colors: {
  custom: {
    50: '#bdafff',
    500: '#9c8eff',
    950: '#000000',
  },
}
SCSS
$custom: #9c8eff;
$custom-light: #bdafff;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8eff",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 247.434,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.70787,
    "c": 0.16137,
    "h": 287.2
  },
  "luminance": 0.33634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9C8EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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