#9D9DFB#9D9DFB

#9D9DFB is a light, vivid blue. Relative luminance 0.382; OKLCH L 73.4% C 0.135 H 282.6°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#9D9DFB
RGBrgb(157, 157, 251)
HSLhsl(240, 92%, 80%)
HSVhsv(240, 37%, 98%)
CMYKcmyk(37.5%, 37.5%, 0%, 1.6%)
CIE-LABlab(68.20, 22.00, -46.83)
CIE-LCHlch(68.20, 51.74, 295.16°)
OKLaboklab(73.43% 0.0293 -0.1314)
OKLCHoklch(73.43% 0.135 282.6)
XYZxyz(43.3693, 38.2455, 96.3451)
Luminance0.3825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9DFB #FBFB9D
analogous
#9DCCFB #9D9DFB #CC9DFB
triadic
#9D9DFB #FB9D9D #9DFB9D
tetradic
#9D9DFB #FB9DCC #FBFB9D #9DFBCC
square
#9D9DFB #FB9DCC #FBFB9D #9DFBCC
split-complementary
#9D9DFB #FBCC9D #CCFB9D
monochromatic
#2727F6 #6262F9 #9D9DFB #D8D8FD #E2E2FE

Accessibility & contrast

On white

2.43
#9D9DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#9D9DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9DFB
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9DFB#FFFFFF#000000##000000
##9D9DFB1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#7AA3F9
Tritanopia (blue-blind)
#82AFC0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9d9dfb;
/* rgb */ color: rgb(157, 157, 251);
/* oklch */ color: oklch(73.4% 0.135 282.6);
Tailwind
colors: {
  custom: {
    50: '#bdb9fd',
    500: '#9d9dfb',
    950: '#000000',
  },
}
SCSS
$custom: #9d9dfb;
$custom-light: #bdb9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9dfb",
  "rgb": {
    "r": 157,
    "g": 157,
    "b": 251
  },
  "hsl": {
    "h": 240,
    "s": 92.157,
    "l": 80
  },
  "oklch": {
    "l": 0.7343,
    "c": 0.13468,
    "h": 282.6
  },
  "luminance": 0.38247
}

Semantic roles & 50–950 ramp

primary
#9D9DFB
secondary
#F6F6D5
accent
#E600E5
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9D9DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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