#9D8DFF#9D8DFF

#9D8DFF is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.7% C 0.163 H 287.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9D8DFF
RGBrgb(157, 141, 255)
HSLhsl(248, 100%, 78%)
HSVhsv(248, 45%, 100%)
CMYKcmyk(38.4%, 44.7%, 0%, 0%)
CIE-LABlab(64.51, 32.21, -54.85)
CIE-LCHlch(64.51, 63.60, 300.42°)
OKLaboklab(70.69% 0.0501 -0.1548)
OKLCHoklch(70.69% 0.163 287.9)
XYZxyz(41.4745, 33.4365, 98.8570)
Luminance0.3344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8DFF #EFFF8D
analogous
#8DB6FF #9D8DFF #D68DFF
triadic
#9D8DFF #FF9D8D #8DFF9D
tetradic
#9D8DFF #FF8DB6 #EFFF8D #8DFFD6
square
#9D8DFF #FF8DB6 #EFFF8D #8DFFD6
split-complementary
#9D8DFF #FFD68D #B6FF8D
monochromatic
#3413FF #6850FF #9D8DFF #D2CAFF #E5E0FF

Accessibility & contrast

On white

2.73
#9D8DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#9D8DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D8DFF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8DFF#FFFFFF#000000##000000
##9D8DFF1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#649FFF
Deuteranopia (green-blind)
#639AFC
Tritanopia (blue-blind)
#82A4BA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9d8dff;
/* rgb */ color: rgb(157, 141, 255);
/* oklch */ color: oklch(70.7% 0.163 287.9);
Tailwind
colors: {
  custom: {
    50: '#beaeff',
    500: '#9d8dff',
    950: '#000000',
  },
}
SCSS
$custom: #9d8dff;
$custom-light: #beaeff;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8dff",
  "rgb": {
    "r": 157,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 248.421,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.70688,
    "c": 0.16275,
    "h": 287.9
  },
  "luminance": 0.33438
}

Semantic roles & 50–950 ramp

primary
#9D8DFF
secondary
#F2F7D4
accent
#E600C5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #9D8DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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