#9C8EF2#9C8EF2

#9C8EF2 is a light, vivid blue. Relative luminance 0.328; OKLCH L 70.1% C 0.144 H 288.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#9C8EF2
RGBrgb(156, 142, 242)
HSLhsl(248, 79%, 75%)
HSVhsv(248, 41%, 95%)
CMYKcmyk(35.5%, 41.3%, 0%, 5.1%)
CIE-LABlab(64.02, 27.93, -48.51)
CIE-LCHlch(64.02, 55.97, 299.93°)
OKLaboklab(70.08% 0.0457 -0.1364)
OKLCHoklch(70.08% 0.144 288.5)
XYZxyz(39.4060, 32.8236, 88.2466)
Luminance0.3282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C8EF2 #E4F28E
analogous
#8EB2F2 #9C8EF2 #CE8EF2
triadic
#9C8EF2 #F29C8E #8EF29C
tetradic
#9C8EF2 #F28EB2 #E4F28E #8EF2CE
square
#9C8EF2 #F28EB2 #E4F28E #8EF2CE
split-complementary
#9C8EF2 #F2CE8E #B2F28E
monochromatic
#3C20E5 #6C57EC #9C8EF2 #CCC5F8 #E7E4FC

Accessibility & contrast

On white

2.78
#9C8EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#9C8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C8EF2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C8EF2#FFFFFF#000000##000000
##9C8EF21.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#6D99F0
Tritanopia (blue-blind)
#86A1B4
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9c8ef2;
/* rgb */ color: rgb(156, 142, 242);
/* oklch */ color: oklch(70.1% 0.144 288.5);
Tailwind
colors: {
  custom: {
    50: '#bcaff7',
    500: '#9c8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #9c8ef2;
$custom-light: #bcaff7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c8ef2",
  "rgb": {
    "r": 156,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 248.4,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.70081,
    "c": 0.14382,
    "h": 288.5
  },
  "luminance": 0.32825
}

Semantic roles & 50–950 ramp

primary
#9C8EF2
secondary
#F0F4D7
accent
#DC0ABE
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85

Preview Lab

Preview with #9C8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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