#9D9AFE#9D9AFE

#9D9AFE is a light, vivid blue. Relative luminance 0.374; OKLCH L 73.0% C 0.143 H 283.6°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#9D9AFE
RGBrgb(157, 154, 254)
HSLhsl(242, 98%, 80%)
HSVhsv(242, 39%, 100%)
CMYKcmyk(38.2%, 39.4%, 0%, 0.4%)
CIE-LABlab(67.60, 24.51, -49.41)
CIE-LCHlch(67.60, 55.16, 296.38°)
OKLaboklab(73.02% 0.0337 -0.1389)
OKLCHoklch(73.02% 0.143 283.6)
XYZxyz(43.3446, 37.4335, 98.6883)
Luminance0.3744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9AFE #FBFE9A
analogous
#9AC9FE #9D9AFE #CF9AFE
triadic
#9D9AFE #FE9D9A #9AFE9D
tetradic
#9D9AFE #FE9AC9 #FBFE9A #9AFECF
square
#9D9AFE #FE9AC9 #FBFE9A #9AFECF
split-complementary
#9D9AFE #FECF9A #C9FE9A
monochromatic
#2721FD #625DFD #9D9AFE #D8D7FF #E2E1FF

Accessibility & contrast

On white

2.47
#9D9AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#9D9AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9AFE
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9AFE#FFFFFF#000000##000000
##9D9AFE1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9d9afe;
/* rgb */ color: rgb(157, 154, 254);
/* oklch */ color: oklch(73.0% 0.143 283.6);
Tailwind
colors: {
  custom: {
    50: '#bdb7ff',
    500: '#9d9afe',
    950: '#000000',
  },
}
SCSS
$custom: #9d9afe;
$custom-light: #bdb7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9afe",
  "rgb": {
    "r": 157,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 241.8,
    "s": 98.039,
    "l": 80
  },
  "oklch": {
    "l": 0.73017,
    "c": 0.14298,
    "h": 283.6
  },
  "luminance": 0.37435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D9AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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