#9C8DEB#9C8DEB

#9C8DEB is a light, vivid blue. Relative luminance 0.321; OKLCH L 69.5% C 0.136 H 289.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#9C8DEB
RGBrgb(156, 141, 235)
HSLhsl(250, 70%, 74%)
HSVhsv(250, 40%, 92%)
CMYKcmyk(33.6%, 40%, 0%, 7.8%)
CIE-LABlab(63.44, 26.67, -45.57)
CIE-LCHlch(63.44, 52.80, 300.34°)
OKLaboklab(69.53% 0.0458 -0.1278)
OKLCHoklch(69.53% 0.136 289.7)
XYZxyz(38.2266, 32.1149, 82.7659)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8DEB #DCEB8D
analogous
#8DADEB #9C8DEB #CB8DEB
triadic
#9C8DEB #EB9C8D #8DEB9C
tetradic
#9C8DEB #EB8DAD #DCEB8D #8DEBCB
square
#9C8DEB #EB8DAD #DCEB8D #8DEBCB
split-complementary
#9C8DEB #EBCB8D #ADEB8D
monochromatic
#4226D8 #6F59E2 #9C8DEB #C9C1F4 #E8E5FA

Accessibility & contrast

On white

2.83
#9C8DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#9C8DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8DEB
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8DEB#FFFFFF#000000##000000
##9C8DEB1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#709BEF
Deuteranopia (green-blind)
#7097E9
Tritanopia (blue-blind)
#899FB1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #9c8deb;
/* rgb */ color: rgb(156, 141, 235);
/* oklch */ color: oklch(69.5% 0.136 289.7);
Tailwind
colors: {
  custom: {
    50: '#bcaef2',
    500: '#9c8deb',
    950: '#000000',
  },
}
SCSS
$custom: #9c8deb;
$custom-light: #bcaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8deb",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 249.574,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.6953,
    "c": 0.13576,
    "h": 289.7
  },
  "luminance": 0.32116
}

Semantic roles & 50–950 ramp

primary
#9C8DEB
secondary
#EEF2D9
accent
#D213B4
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9C8DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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