#9F9DDB#9F9DDB

#9F9DDB is a light, moderate blue. Relative luminance 0.366; OKLCH L 72.1% C 0.090 H 285.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#9F9DDB
RGBrgb(159, 157, 219)
HSLhsl(242, 46%, 74%)
HSVhsv(242, 28%, 86%)
CMYKcmyk(27.4%, 28.3%, 0%, 14.1%)
CIE-LABlab(66.97, 14.33, -31.19)
CIE-LCHlch(66.97, 34.32, 294.68°)
OKLaboklab(72.07% 0.0238 -0.0863)
OKLCHoklch(72.07% 0.09 285.4)
XYZxyz(39.1380, 36.5985, 72.0063)
Luminance0.3660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9DDB #D9DB9D
analogous
#9DBADB #9F9DDB #BE9DDB
triadic
#9F9DDB #DB9F9D #9DDB9F
tetradic
#9F9DDB #DB9DBA #D9DB9D #9DDBBE
square
#9F9DDB #DB9DBA #D9DB9D #9DDBBE
split-complementary
#9F9DDB #DBBE9D #BADB9D
monochromatic
#4844B9 #7370CB #9F9DDB #CBCAEB #E9E9F7

Accessibility & contrast

On white

2.52
#9F9DDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#9F9DDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9DDB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9DDB#FFFFFF#000000##000000
##9F9DDB1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA5DE
Deuteranopia (green-blind)
#8AA1D9
Tritanopia (blue-blind)
#91A8B3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9f9ddb;
/* rgb */ color: rgb(159, 157, 219);
/* oklch */ color: oklch(72.1% 0.090 285.4);
Tailwind
colors: {
  custom: {
    50: '#bcb9e6',
    500: '#9f9ddb',
    950: '#000000',
  },
}
SCSS
$custom: #9f9ddb;
$custom-light: #bcb9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9ddb",
  "rgb": {
    "r": 159,
    "g": 157,
    "b": 219
  },
  "hsl": {
    "h": 241.935,
    "s": 46.269,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72071,
    "c": 0.08951,
    "h": 285.4
  },
  "luminance": 0.36599
}

Semantic roles & 50–950 ramp

primary
#9F9DDB
secondary
#EDEEDD
accent
#B92CB5
background
#FBFBFE
surface
#F6F6FC
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #9F9DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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