#9D9DF5#9D9DF5

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

Color values

HEX#9D9DF5
RGBrgb(157, 157, 245)
HSLhsl(240, 81%, 79%)
HSVhsv(240, 36%, 96%)
CMYKcmyk(35.9%, 35.9%, 0%, 3.9%)
CIE-LABlab(67.93, 20.40, -43.99)
CIE-LCHlch(67.93, 48.49, 294.88°)
OKLaboklab(73.13% 0.0281 -0.1232)
OKLCHoklch(73.13% 0.126 282.8)
XYZxyz(42.4384, 37.8732, 91.4427)
Luminance0.3787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9DF5 #F5F59D
analogous
#9DC9F5 #9D9DF5 #C99DF5
triadic
#9D9DF5 #F59D9D #9DF59D
tetradic
#9D9DF5 #F59DC9 #F5F59D #9DF5C9
square
#9D9DF5 #F59DC9 #F5F59D #9DF5C9
split-complementary
#9D9DF5 #F5C99D #C9F59D
monochromatic
#2E2EEA #6565EF #9D9DF5 #D5D5FB #E3E3FC

Accessibility & contrast

On white

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

On black

8.57
#9D9DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9DF5
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9DF5#FFFFFF#000000##000000
##9D9DF51.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A9F9
Deuteranopia (green-blind)
#7DA3F3
Tritanopia (blue-blind)
#85AEBE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9d9df5;
/* rgb */ color: rgb(157, 157, 245);
/* oklch */ color: oklch(73.1% 0.126 282.8);
Tailwind
colors: {
  custom: {
    50: '#bdb9f9',
    500: '#9d9df5',
    950: '#000000',
  },
}
SCSS
$custom: #9d9df5;
$custom-light: #bdb9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9df5",
  "rgb": {
    "r": 157,
    "g": 157,
    "b": 245
  },
  "hsl": {
    "h": 240,
    "s": 81.481,
    "l": 78.824
  },
  "oklch": {
    "l": 0.7313,
    "c": 0.12635,
    "h": 282.8
  },
  "luminance": 0.37875
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9D9DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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