#9F8DFD#9F8DFD

#9F8DFD is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.7% C 0.160 H 289.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9F8DFD
RGBrgb(159, 141, 253)
HSLhsl(250, 97%, 77%)
HSVhsv(250, 44%, 99%)
CMYKcmyk(37.2%, 44.3%, 0%, 0.8%)
CIE-LABlab(64.57, 32.17, -53.65)
CIE-LCHlch(64.57, 62.55, 300.95°)
OKLaboklab(70.74% 0.0522 -0.1513)
OKLCHoklch(70.74% 0.16 289)
XYZxyz(41.5478, 33.5113, 97.1887)
Luminance0.3351 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8DFD #EBFD8D
analogous
#8DB3FD #9F8DFD #D78DFD
triadic
#9F8DFD #FD9F8D #8DFD9F
tetradic
#9F8DFD #FD8DB3 #EBFD8D #8DFDD7
square
#9F8DFD #FD8DB3 #EBFD8D #8DFDD7
split-complementary
#9F8DFD #FDD78D #B3FD8D
monochromatic
#3A15FB #6C51FC #9F8DFD #D2C9FE #E6E1FE

Accessibility & contrast

On white

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

On black

7.70
#9F8DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F8DFD
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8DFD#FFFFFF#000000##000000
##9F8DFD1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#669AFA
Tritanopia (blue-blind)
#86A3B9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9f8dfd;
/* rgb */ color: rgb(159, 141, 253);
/* oklch */ color: oklch(70.7% 0.160 289.0);
Tailwind
colors: {
  custom: {
    50: '#bfaefe',
    500: '#9f8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9f8dfd;
$custom-light: #bfaefe;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8dfd",
  "rgb": {
    "r": 159,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 249.643,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.7074,
    "c": 0.16003,
    "h": 289
  },
  "luminance": 0.33513
}

Semantic roles & 50–950 ramp

primary
#9F8DFD
secondary
#F1F7D4
accent
#E600C1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #9F8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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