#9F9CD8#9F9CD8

#9F9CD8 is a light, moderate blue. Relative luminance 0.361; OKLCH L 71.7% C 0.087 H 286.3°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#9F9CD8
RGBrgb(159, 156, 216)
HSLhsl(243, 43%, 73%)
HSVhsv(243, 28%, 85%)
CMYKcmyk(26.4%, 27.8%, 0%, 15.3%)
CIE-LABlab(66.60, 14.17, -30.11)
CIE-LCHlch(66.60, 33.27, 295.20°)
OKLaboklab(71.74% 0.0243 -0.0832)
OKLCHoklch(71.74% 0.087 286.3)
XYZxyz(38.5781, 36.1050, 69.8889)
Luminance0.3611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9CD8 #D5D89C
analogous
#9CB7D8 #9F9CD8 #BD9CD8
triadic
#9F9CD8 #D89F9C #9CD89F
tetradic
#9F9CD8 #D89CB7 #D5D89C #9CD8BD
square
#9F9CD8 #D89CB7 #D5D89C #9CD8BD
split-complementary
#9F9CD8 #D8BD9C #B7D89C
monochromatic
#4C47B3 #7470C7 #9F9CD8 #CAC8E9 #EAE9F6

Accessibility & contrast

On white

2.55
#9F9CD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#9F9CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9CD8
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9CD8#FFFFFF#000000##000000
##9F9CD81.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA4DB
Deuteranopia (green-blind)
#8BA0D6
Tritanopia (blue-blind)
#92A6B1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9f9cd8;
/* rgb */ color: rgb(159, 156, 216);
/* oklch */ color: oklch(71.7% 0.087 286.3);
Tailwind
colors: {
  custom: {
    50: '#bcb9e4',
    500: '#9f9cd8',
    950: '#000000',
  },
}
SCSS
$custom: #9f9cd8;
$custom-light: #bcb9e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9cd8",
  "rgb": {
    "r": 159,
    "g": 156,
    "b": 216
  },
  "hsl": {
    "h": 243,
    "s": 43.478,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71742,
    "c": 0.08669,
    "h": 286.3
  },
  "luminance": 0.36106
}

Semantic roles & 50–950 ramp

primary
#9F9CD8
secondary
#ECEDDE
accent
#B72FB0
background
#FBFBFD
surface
#F6F6FB
border
#D0D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #9F9CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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