#9D9DF6#9D9DF6

#9D9DF6 is a light, vivid blue. Relative luminance 0.379; OKLCH L 73.2% C 0.128 H 282.8°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#9D9DF6
RGBrgb(157, 157, 246)
HSLhsl(240, 83%, 79%)
HSVhsv(240, 36%, 96%)
CMYKcmyk(36.2%, 36.2%, 0%, 3.5%)
CIE-LABlab(67.97, 20.67, -44.47)
CIE-LCHlch(67.97, 49.04, 294.93°)
OKLaboklab(73.18% 0.0283 -0.1246)
OKLCHoklch(73.18% 0.128 282.8)
XYZxyz(42.5915, 37.9344, 92.2489)
Luminance0.3794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9DF6 #F6F69D
analogous
#9DCAF6 #9D9DF6 #CA9DF6
triadic
#9D9DF6 #F69D9D #9DF69D
tetradic
#9D9DF6 #F69DCA #F6F69D #9DF6CA
square
#9D9DF6 #F69DCA #F6F69D #9DF6CA
split-complementary
#9D9DF6 #F6CA9D #CAF69D
monochromatic
#2D2DEC #6565F1 #9D9DF6 #D5D5FB #E3E3FC

Accessibility & contrast

On white

2.45
#9D9DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#9D9DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9DF6
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9DF6#FFFFFF#000000##000000
##9D9DF61.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FA
Deuteranopia (green-blind)
#7DA3F4
Tritanopia (blue-blind)
#85AEBE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9d9df6;
/* rgb */ color: rgb(157, 157, 246);
/* oklch */ color: oklch(73.2% 0.128 282.8);
Tailwind
colors: {
  custom: {
    50: '#bdb9f9',
    500: '#9d9df6',
    950: '#000000',
  },
}
SCSS
$custom: #9d9df6;
$custom-light: #bdb9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9df6",
  "rgb": {
    "r": 157,
    "g": 157,
    "b": 246
  },
  "hsl": {
    "h": 240,
    "s": 83.178,
    "l": 79.02
  },
  "oklch": {
    "l": 0.73179,
    "c": 0.12775,
    "h": 282.8
  },
  "luminance": 0.37936
}

Semantic roles & 50–950 ramp

primary
#9D9DF6
secondary
#F4F4D7
accent
#E006E0
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9D9DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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