#9D9DF8#9D9DF8

#9D9DF8 is a light, vivid blue. Relative luminance 0.381; OKLCH L 73.3% C 0.131 H 282.7°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#9D9DF8
RGBrgb(157, 157, 248)
HSLhsl(240, 87%, 79%)
HSVhsv(240, 37%, 97%)
CMYKcmyk(36.7%, 36.7%, 0%, 2.7%)
CIE-LABlab(68.06, 21.20, -45.42)
CIE-LCHlch(68.06, 50.12, 295.02°)
OKLaboklab(73.28% 0.0287 -0.1273)
OKLCHoklch(73.28% 0.131 282.7)
XYZxyz(42.9001, 38.0579, 93.8743)
Luminance0.3806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9DF8 #F8F89D
analogous
#9DCBF8 #9D9DF8 #CB9DF8
triadic
#9D9DF8 #F89D9D #9DF89D
tetradic
#9D9DF8 #F89DCB #F8F89D #9DF8CB
square
#9D9DF8 #F89DCB #F8F89D #9DF8CB
split-complementary
#9D9DF8 #F8CB9D #CBF89D
monochromatic
#2B2BF0 #6464F4 #9D9DF8 #D6D6FC #E2E2FD

Accessibility & contrast

On white

2.44
#9D9DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#9D9DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9DF8
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9DF8#FFFFFF#000000##000000
##9D9DF81.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FC
Deuteranopia (green-blind)
#7CA3F6
Tritanopia (blue-blind)
#84AEBF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9d9df8;
/* rgb */ color: rgb(157, 157, 248);
/* oklch */ color: oklch(73.3% 0.131 282.7);
Tailwind
colors: {
  custom: {
    50: '#bdb9fb',
    500: '#9d9df8',
    950: '#000000',
  },
}
SCSS
$custom: #9d9df8;
$custom-light: #bdb9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9df8",
  "rgb": {
    "r": 157,
    "g": 157,
    "b": 248
  },
  "hsl": {
    "h": 240,
    "s": 86.667,
    "l": 79.412
  },
  "oklch": {
    "l": 0.73279,
    "c": 0.13052,
    "h": 282.7
  },
  "luminance": 0.38059
}

Semantic roles & 50–950 ramp

primary
#9D9DF8
secondary
#F5F5D6
accent
#E302E3
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9D9DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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