#9F9DFD#9F9DFD

#9F9DFD is a light, vivid blue. Relative luminance 0.386; OKLCH L 73.7% C 0.137 H 283.4°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#9F9DFD
RGBrgb(159, 157, 253)
HSLhsl(241, 96%, 80%)
HSVhsv(241, 38%, 99%)
CMYKcmyk(37.2%, 37.9%, 0%, 0.8%)
CIE-LABlab(68.44, 23.05, -47.53)
CIE-LCHlch(68.44, 52.83, 295.87°)
OKLaboklab(73.68% 0.0319 -0.1334)
OKLCHoklch(73.68% 0.137 283.4)
XYZxyz(44.0797, 38.5752, 98.0327)
Luminance0.3858 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9DFD #FBFD9D
analogous
#9DCBFD #9F9DFD #CF9DFD
triadic
#9F9DFD #FD9F9D #9DFD9F
tetradic
#9F9DFD #FD9DCB #FBFD9D #9DFDCF
square
#9F9DFD #FD9DCB #FBFD9D #9DFDCF
split-complementary
#9F9DFD #FDCF9D #CBFD9D
monochromatic
#2925FB #6461FC #9F9DFD #DAD9FE #E2E1FE

Accessibility & contrast

On white

2.41
#9F9DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#9F9DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9DFD
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9DFD#FFFFFF#000000##000000
##9F9DFD1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#7AA4FB
Tritanopia (blue-blind)
#85B0C1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9f9dfd;
/* rgb */ color: rgb(159, 157, 253);
/* oklch */ color: oklch(73.7% 0.137 283.4);
Tailwind
colors: {
  custom: {
    50: '#beb9fe',
    500: '#9f9dfd',
    950: '#000000',
  },
}
SCSS
$custom: #9f9dfd;
$custom-light: #beb9fe;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9dfd",
  "rgb": {
    "r": 159,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 241.25,
    "s": 96,
    "l": 80.392
  },
  "oklch": {
    "l": 0.73682,
    "c": 0.1372,
    "h": 283.4
  },
  "luminance": 0.38577
}

Semantic roles & 50–950 ramp

primary
#9F9DFD
secondary
#F6F7D4
accent
#E600E1
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121118
muted
#818086

Preview Lab

Preview with #9F9DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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