#9F9DF6#9F9DF6

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

Color values

HEX#9F9DF6
RGBrgb(159, 157, 246)
HSLhsl(241, 83%, 79%)
HSVhsv(241, 36%, 96%)
CMYKcmyk(35.4%, 36.2%, 0%, 3.5%)
CIE-LABlab(68.12, 21.20, -44.22)
CIE-LCHlch(68.12, 49.04, 295.61°)
OKLaboklab(73.33% 0.0305 -0.1238)
OKLCHoklch(73.33% 0.128 283.8)
XYZxyz(42.9850, 38.1373, 92.2673)
Luminance0.3814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9DF6 #F4F69D
analogous
#9DC8F6 #9F9DF6 #CC9DF6
triadic
#9F9DF6 #F69F9D #9DF69F
tetradic
#9F9DF6 #F69DC8 #F4F69D #9DF6CC
square
#9F9DF6 #F69DC8 #F4F69D #9DF6CC
split-complementary
#9F9DF6 #F6CC9D #C8F69D
monochromatic
#312DEC #6865F1 #9F9DF6 #D6D5FB #E4E3FC

Accessibility & contrast

On white

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

On black

8.63
#9F9DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9DF6
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9DF6#FFFFFF#000000##000000
##9F9DF61.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f9df6;
/* rgb */ color: rgb(159, 157, 246);
/* oklch */ color: oklch(73.3% 0.128 283.8);
Tailwind
colors: {
  custom: {
    50: '#beb9f9',
    500: '#9f9df6',
    950: '#000000',
  },
}
SCSS
$custom: #9f9df6;
$custom-light: #beb9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9df6",
  "rgb": {
    "r": 159,
    "g": 157,
    "b": 246
  },
  "hsl": {
    "h": 241.348,
    "s": 83.178,
    "l": 79.02
  },
  "oklch": {
    "l": 0.73331,
    "c": 0.12752,
    "h": 283.8
  },
  "luminance": 0.38139
}

Semantic roles & 50–950 ramp

primary
#9F9DF6
secondary
#F4F4D7
accent
#E006DB
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085

Preview Lab

Preview with #9F9DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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