#9D9DEA#9D9DEA

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

Color values

HEX#9D9DEA
RGBrgb(157, 157, 234)
HSLhsl(240, 65%, 77%)
HSVhsv(240, 33%, 92%)
CMYKcmyk(32.9%, 32.9%, 0%, 8.2%)
CIE-LABlab(67.44, 17.54, -38.73)
CIE-LCHlch(67.44, 42.51, 294.36°)
OKLaboklab(72.6% 0.0255 -0.108)
OKLCHoklch(72.6% 0.111 283.3)
XYZxyz(40.8088, 37.2213, 82.8603)
Luminance0.3722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9DEA #EAEA9D
analogous
#9DC4EA #9D9DEA #C49DEA
triadic
#9D9DEA #EA9D9D #9DEA9D
tetradic
#9D9DEA #EA9DC4 #EAEA9D #9DEAC4
square
#9D9DEA #EA9DC4 #EAEA9D #9DEAC4
split-complementary
#9D9DEA #EAC49D #C4EA9D
monochromatic
#3838D4 #6B6BDF #9D9DEA #CFCFF5 #E6E6FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9D9DEA#FFFFFF#000000##000000
##9D9DEA1.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)
#86A7ED
Deuteranopia (green-blind)
#83A2E8
Tritanopia (blue-blind)
#89ABB9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9d9dea;
/* rgb */ color: rgb(157, 157, 234);
/* oklch */ color: oklch(72.6% 0.111 283.3);
Tailwind
colors: {
  custom: {
    50: '#bcb9f1',
    500: '#9d9dea',
    950: '#000000',
  },
}
SCSS
$custom: #9d9dea;
$custom-light: #bcb9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9dea",
  "rgb": {
    "r": 157,
    "g": 157,
    "b": 234
  },
  "hsl": {
    "h": 240,
    "s": 64.706,
    "l": 76.667
  },
  "oklch": {
    "l": 0.72599,
    "c": 0.11095,
    "h": 283.3
  },
  "luminance": 0.37223
}

Semantic roles & 50–950 ramp

primary
#9D9DEA
secondary
#F1F1DA
accent
#CD19CD
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #9D9DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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