#9F9CEC#9F9CEC

#9F9CEC is a light, moderate blue. Relative luminance 0.372; OKLCH L 72.7% C 0.115 H 284.9°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#9F9CEC
RGBrgb(159, 156, 236)
HSLhsl(242, 68%, 77%)
HSVhsv(242, 34%, 93%)
CMYKcmyk(32.6%, 33.9%, 0%, 7.5%)
CIE-LABlab(67.43, 19.17, -39.84)
CIE-LCHlch(67.43, 44.21, 295.70°)
OKLaboklab(72.65% 0.0295 -0.1111)
OKLCHoklch(72.65% 0.115 284.9)
XYZxyz(41.3228, 37.2028, 84.3443)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9CEC #E9EC9C
analogous
#9CC1EC #9F9CEC #C79CEC
triadic
#9F9CEC #EC9F9C #9CEC9F
tetradic
#9F9CEC #EC9CC1 #E9EC9C #9CECC7
square
#9F9CEC #EC9CC1 #E9EC9C #9CECC7
split-complementary
#9F9CEC #ECC79C #C1EC9C
monochromatic
#3B35D8 #6D69E2 #9F9CEC #D1CFF6 #E6E5FA

Accessibility & contrast

On white

2.49
#9F9CEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#9F9CEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9CEC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9CEC#FFFFFF#000000##000000
##9F9CEC1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7EF
Deuteranopia (green-blind)
#82A2EA
Tritanopia (blue-blind)
#8BABB9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9f9cec;
/* rgb */ color: rgb(159, 156, 236);
/* oklch */ color: oklch(72.7% 0.115 284.9);
Tailwind
colors: {
  custom: {
    50: '#bdb9f2',
    500: '#9f9cec',
    950: '#000000',
  },
}
SCSS
$custom: #9f9cec;
$custom-light: #bdb9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9cec",
  "rgb": {
    "r": 159,
    "g": 156,
    "b": 236
  },
  "hsl": {
    "h": 242.25,
    "s": 67.797,
    "l": 76.863
  },
  "oklch": {
    "l": 0.72654,
    "c": 0.11499,
    "h": 284.9
  },
  "luminance": 0.37204
}

Semantic roles & 50–950 ramp

primary
#9F9CEC
secondary
#F1F2D9
accent
#D016C9
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #9F9CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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