#9F9DF8#9F9DF8

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

Color values

HEX#9F9DF8
RGBrgb(159, 157, 248)
HSLhsl(241, 87%, 79%)
HSVhsv(241, 37%, 97%)
CMYKcmyk(35.9%, 36.7%, 0%, 2.7%)
CIE-LABlab(68.21, 21.72, -45.17)
CIE-LCHlch(68.21, 50.12, 295.68°)
OKLaboklab(73.43% 0.0309 -0.1266)
OKLCHoklch(73.43% 0.13 283.7)
XYZxyz(43.2936, 38.2608, 93.8927)
Luminance0.3826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9DF8 #F6F89D
analogous
#9DC9F8 #9F9DF8 #CD9DF8
triadic
#9F9DF8 #F89F9D #9DF89F
tetradic
#9F9DF8 #F89DC9 #F6F89D #9DF8CD
square
#9F9DF8 #F89DC9 #F6F89D #9DF8CD
split-complementary
#9F9DF8 #F8CD9D #C9F89D
monochromatic
#2F2BF0 #6764F4 #9F9DF8 #D7D6FC #E3E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9DF8#FFFFFF#000000##000000
##9F9DF81.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)
#80A9FC
Deuteranopia (green-blind)
#7DA3F6
Tritanopia (blue-blind)
#87AEBF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9f9df8;
/* rgb */ color: rgb(159, 157, 248);
/* oklch */ color: oklch(73.4% 0.130 283.7);
Tailwind
colors: {
  custom: {
    50: '#beb9fb',
    500: '#9f9df8',
    950: '#000000',
  },
}
SCSS
$custom: #9f9df8;
$custom-light: #beb9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9df8",
  "rgb": {
    "r": 159,
    "g": 157,
    "b": 248
  },
  "hsl": {
    "h": 241.319,
    "s": 86.667,
    "l": 79.412
  },
  "oklch": {
    "l": 0.7343,
    "c": 0.13029,
    "h": 283.7
  },
  "luminance": 0.38262
}

Semantic roles & 50–950 ramp

primary
#9F9DF8
secondary
#F4F5D6
accent
#E302DE
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9F9DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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