#9F9DF5#9F9DF5

#9F9DF5 is a light, vivid blue. Relative luminance 0.381; OKLCH L 73.3% C 0.126 H 283.9°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#9F9DF5
RGBrgb(159, 157, 245)
HSLhsl(241, 81%, 79%)
HSVhsv(241, 36%, 96%)
CMYKcmyk(35.1%, 35.9%, 0%, 3.9%)
CIE-LABlab(68.08, 20.94, -43.75)
CIE-LCHlch(68.08, 48.50, 295.57°)
OKLaboklab(73.28% 0.0302 -0.1224)
OKLCHoklch(73.28% 0.126 283.9)
XYZxyz(42.8319, 38.0761, 91.4612)
Luminance0.3808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9DF5 #F3F59D
analogous
#9DC7F5 #9F9DF5 #CB9DF5
triadic
#9F9DF5 #F59F9D #9DF59F
tetradic
#9F9DF5 #F59DC7 #F3F59D #9DF5CB
square
#9F9DF5 #F59DC7 #F3F59D #9DF5CB
split-complementary
#9F9DF5 #F5CB9D #C7F59D
monochromatic
#322EEA #6965EF #9F9DF5 #D5D5FB #E4E3FC

Accessibility & contrast

On white

2.44
#9F9DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#9F9DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9DF5
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9DF5#FFFFFF#000000##000000
##9F9DF51.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A9F9
Deuteranopia (green-blind)
#7EA3F3
Tritanopia (blue-blind)
#88AEBE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9f9df5;
/* rgb */ color: rgb(159, 157, 245);
/* oklch */ color: oklch(73.3% 0.126 283.9);
Tailwind
colors: {
  custom: {
    50: '#beb9f9',
    500: '#9f9df5',
    950: '#000000',
  },
}
SCSS
$custom: #9f9df5;
$custom-light: #beb9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9df5",
  "rgb": {
    "r": 159,
    "g": 157,
    "b": 245
  },
  "hsl": {
    "h": 241.364,
    "s": 81.481,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73282,
    "c": 0.12613,
    "h": 283.9
  },
  "luminance": 0.38077
}

Semantic roles & 50–950 ramp

primary
#9F9DF5
secondary
#F3F4D7
accent
#DE08D9
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9F9DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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