#9C8DEF#9C8DEF

#9C8DEF is a light, vivid blue. Relative luminance 0.324; OKLCH L 69.7% C 0.141 H 289.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#9C8DEF
RGBrgb(156, 141, 239)
HSLhsl(249, 75%, 75%)
HSVhsv(249, 41%, 94%)
CMYKcmyk(34.7%, 41%, 0%, 6.3%)
CIE-LABlab(63.63, 27.71, -47.47)
CIE-LCHlch(63.63, 54.97, 300.28°)
OKLaboklab(69.74% 0.0465 -0.1333)
OKLCHoklch(69.74% 0.141 289.2)
XYZxyz(38.8110, 32.3487, 85.8437)
Luminance0.3235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8DEF #E0EF8D
analogous
#8DAFEF #9C8DEF #CD8DEF
triadic
#9C8DEF #EF9C8D #8DEF9C
tetradic
#9C8DEF #EF8DAF #E0EF8D #8DEFCD
square
#9C8DEF #EF8DAF #E0EF8D #8DEFCD
split-complementary
#9C8DEF #EFCD8D #AFEF8D
monochromatic
#3F22E0 #6D57E7 #9C8DEF #CBC3F7 #E8E4FB

Accessibility & contrast

On white

2.81
#9C8DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#9C8DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8DEF
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8DEF#FFFFFF#000000##000000
##9C8DEF1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF3
Deuteranopia (green-blind)
#6E98ED
Tritanopia (blue-blind)
#87A0B3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9c8def;
/* rgb */ color: rgb(156, 141, 239);
/* oklch */ color: oklch(69.7% 0.141 289.2);
Tailwind
colors: {
  custom: {
    50: '#bcaef4',
    500: '#9c8def',
    950: '#000000',
  },
}
SCSS
$custom: #9c8def;
$custom-light: #bcaef4;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8def",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 249.184,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.69738,
    "c": 0.14121,
    "h": 289.2
  },
  "luminance": 0.3235
}

Semantic roles & 50–950 ramp

primary
#9C8DEF
secondary
#EFF3D8
accent
#D80EB9
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9C8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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