#9C8EF8#9C8EF8

#9C8EF8 is a light, vivid blue. Relative luminance 0.332; OKLCH L 70.4% C 0.152 H 287.9°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#9C8EF8
RGBrgb(156, 142, 248)
HSLhsl(248, 88%, 76%)
HSVhsv(248, 43%, 97%)
CMYKcmyk(37.1%, 42.7%, 0%, 2.7%)
CIE-LABlab(64.31, 29.51, -51.33)
CIE-LCHlch(64.31, 59.21, 299.90°)
OKLaboklab(70.4% 0.0467 -0.1446)
OKLCHoklch(70.4% 0.152 287.9)
XYZxyz(40.3219, 33.1900, 93.0706)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8EF8 #EAF88E
analogous
#8EB5F8 #9C8EF8 #D18EF8
triadic
#9C8EF8 #F89C8E #8EF89C
tetradic
#9C8EF8 #F88EB5 #EAF88E #8EF8D1
square
#9C8EF8 #F88EB5 #EAF88E #8EF8D1
split-complementary
#9C8EF8 #F8D18E #B5F88E
monochromatic
#371BF1 #6A54F4 #9C8EF8 #CEC8FC #E6E2FD

Accessibility & contrast

On white

2.75
#9C8EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#9C8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8EF8
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8EF8#FFFFFF#000000##000000
##9C8EF81.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9EFC
Deuteranopia (green-blind)
#6999F5
Tritanopia (blue-blind)
#83A3B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9c8ef8;
/* rgb */ color: rgb(156, 142, 248);
/* oklch */ color: oklch(70.4% 0.152 287.9);
Tailwind
colors: {
  custom: {
    50: '#bdaffb',
    500: '#9c8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #9c8ef8;
$custom-light: #bdaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8ef8",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 247.925,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70402,
    "c": 0.15196,
    "h": 287.9
  },
  "luminance": 0.33191
}

Semantic roles & 50–950 ramp

primary
#9C8EF8
secondary
#F1F5D6
accent
#E501C7
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9C8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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