#9C8DFF#9C8DFF

#9C8DFF is a light, vivid blue. Relative luminance 0.333; OKLCH L 70.6% C 0.163 H 287.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#9C8DFF
RGBrgb(156, 141, 255)
HSLhsl(248, 100%, 78%)
HSVhsv(248, 45%, 100%)
CMYKcmyk(38.8%, 44.7%, 0%, 0%)
CIE-LABlab(64.43, 31.96, -54.98)
CIE-LCHlch(64.43, 63.59, 300.17°)
OKLaboklab(70.61% 0.049 -0.1553)
OKLCHoklch(70.61% 0.163 287.5)
XYZxyz(41.2802, 33.3363, 98.8479)
Luminance0.3334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8DFF #F0FF8D
analogous
#8DB7FF #9C8DFF #D58DFF
triadic
#9C8DFF #FF9C8D #8DFF9C
tetradic
#9C8DFF #FF8DB7 #F0FF8D #8DFFD5
square
#9C8DFF #FF8DB7 #F0FF8D #8DFFD5
split-complementary
#9C8DFF #FFD58D #B7FF8D
monochromatic
#3213FF #6750FF #9C8DFF #D1CAFF #E4E0FF

Accessibility & contrast

On white

2.74
#9C8DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#9C8DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8DFF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8DFF#FFFFFF#000000##000000
##9C8DFF1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#6299FC
Tritanopia (blue-blind)
#81A4BA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9c8dff;
/* rgb */ color: rgb(156, 141, 255);
/* oklch */ color: oklch(70.6% 0.163 287.5);
Tailwind
colors: {
  custom: {
    50: '#bdaeff',
    500: '#9c8dff',
    950: '#000000',
  },
}
SCSS
$custom: #9c8dff;
$custom-light: #bdaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8dff",
  "rgb": {
    "r": 156,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 247.895,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.70608,
    "c": 0.1628,
    "h": 287.5
  },
  "luminance": 0.33338
}

Semantic roles & 50–950 ramp

primary
#9C8DFF
secondary
#F3F7D4
accent
#E600C7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #9C8DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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