#9F9ECC#9F9ECC

#9F9ECC is a light, moderate blue. Relative luminance 0.362; OKLCH L 71.6% C 0.067 H 285.6°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#9F9ECC
RGBrgb(159, 158, 204)
HSLhsl(241, 31%, 71%)
HSVhsv(241, 23%, 80%)
CMYKcmyk(22.1%, 22.5%, 0%, 20%)
CIE-LABlab(66.66, 10.17, -23.37)
CIE-LCHlch(66.66, 25.48, 293.52°)
OKLaboklab(71.64% 0.0179 -0.0641)
OKLCHoklch(71.64% 0.067 285.6)
XYZxyz(37.4214, 36.1837, 62.1276)
Luminance0.3618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9ECC #CBCC9E
analogous
#9EB4CC #9F9ECC #B69ECC
triadic
#9F9ECC #CC9F9E #9ECC9F
tetradic
#9F9ECC #CC9EB4 #CBCC9E #9ECCB6
square
#9F9ECC #CC9EB4 #CBCC9E #9ECCB6
split-complementary
#9F9ECC #CCB69E #B4CC9E
monochromatic
#54539D #7776B7 #9F9ECC #C7C6E1 #EBEBF4

Accessibility & contrast

On white

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

On black

8.24
#9F9ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9ECC
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9ECC#FFFFFF#000000##000000
##9F9ECC1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A3CE
Deuteranopia (green-blind)
#91A1CB
Tritanopia (blue-blind)
#95A6AE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9f9ecc;
/* rgb */ color: rgb(159, 158, 204);
/* oklch */ color: oklch(71.6% 0.067 285.6);
Tailwind
colors: {
  custom: {
    50: '#bcbadb',
    500: '#9f9ecc',
    950: '#000000',
  },
}
SCSS
$custom: #9f9ecc;
$custom-light: #bcbadb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9ecc",
  "rgb": {
    "r": 159,
    "g": 158,
    "b": 204
  },
  "hsl": {
    "h": 241.304,
    "s": 31.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71638,
    "c": 0.06655,
    "h": 285.6
  },
  "luminance": 0.36184
}

Semantic roles & 50–950 ramp

primary
#9F9ECC
secondary
#E9E9DD
accent
#AA3CA7
background
#FBFBFD
surface
#F6F6FB
border
#D0D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #9F9ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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