#9C9AFE#9C9AFE

#9C9AFE is a light, vivid blue. Relative luminance 0.373; OKLCH L 72.9% C 0.143 H 283.2°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#9C9AFE
RGBrgb(156, 154, 254)
HSLhsl(241, 98%, 80%)
HSVhsv(241, 39%, 100%)
CMYKcmyk(38.6%, 39.4%, 0%, 0.4%)
CIE-LABlab(67.53, 24.26, -49.54)
CIE-LCHlch(67.53, 55.16, 296.09°)
OKLaboklab(72.94% 0.0326 -0.1393)
OKLCHoklch(72.94% 0.143 283.2)
XYZxyz(43.1502, 37.3333, 98.6792)
Luminance0.3734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C9AFE #FCFE9A
analogous
#9ACAFE #9C9AFE #CE9AFE
triadic
#9C9AFE #FE9C9A #9AFE9C
tetradic
#9C9AFE #FE9ACA #FCFE9A #9AFECE
square
#9C9AFE #FE9ACA #FCFE9A #9AFECE
split-complementary
#9C9AFE #FECE9A #CAFE9A
monochromatic
#2521FD #615DFD #9C9AFE #D7D7FF #E1E1FF

Accessibility & contrast

On white

2.48
#9C9AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#9C9AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9C9AFE
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C9AFE#FFFFFF#000000##000000
##9C9AFE1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#74A1FC
Tritanopia (blue-blind)
#80AEC0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9c9afe;
/* rgb */ color: rgb(156, 154, 254);
/* oklch */ color: oklch(72.9% 0.143 283.2);
Tailwind
colors: {
  custom: {
    50: '#bdb7ff',
    500: '#9c9afe',
    950: '#000000',
  },
}
SCSS
$custom: #9c9afe;
$custom-light: #bdb7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9c9afe",
  "rgb": {
    "r": 156,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 241.2,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.72941,
    "c": 0.14309,
    "h": 283.2
  },
  "luminance": 0.37335
}

Semantic roles & 50–950 ramp

primary
#9C9AFE
secondary
#F6F7D4
accent
#E600E1
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #9C9AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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