#9F9DD4#9F9DD4

#9F9DD4 is a light, moderate blue. Relative luminance 0.362; OKLCH L 71.8% C 0.080 H 285.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#9F9DD4
RGBrgb(159, 157, 212)
HSLhsl(242, 39%, 72%)
HSVhsv(242, 26%, 83%)
CMYKcmyk(25%, 25.9%, 0%, 16.9%)
CIE-LABlab(66.70, 12.63, -27.74)
CIE-LCHlch(66.70, 30.48, 294.48°)
OKLaboklab(71.77% 0.0217 -0.0765)
OKLCHoklch(71.77% 0.08 285.9)
XYZxyz(38.2357, 36.2376, 67.2547)
Luminance0.3624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9DD4 #D2D49D
analogous
#9DB6D4 #9F9DD4 #BB9DD4
triadic
#9F9DD4 #D49F9D #9DD49F
tetradic
#9F9DD4 #D49DB6 #D2D49D #9DD4BB
square
#9F9DD4 #D49DB6 #D2D49D #9DD4BB
split-complementary
#9F9DD4 #D4BB9D #B6D49D
monochromatic
#4F4BAB #7572C1 #9F9DD4 #C9C8E7 #EAEAF6

Accessibility & contrast

On white

2.55
#9F9DD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#9F9DD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9DD4
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9DD4#FFFFFF#000000##000000
##9F9DD41.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA4D6
Deuteranopia (green-blind)
#8DA1D3
Tritanopia (blue-blind)
#93A6B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #9f9dd4;
/* rgb */ color: rgb(159, 157, 212);
/* oklch */ color: oklch(71.8% 0.080 285.9);
Tailwind
colors: {
  custom: {
    50: '#bcb9e1',
    500: '#9f9dd4',
    950: '#000000',
  },
}
SCSS
$custom: #9f9dd4;
$custom-light: #bcb9e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9dd4",
  "rgb": {
    "r": 159,
    "g": 157,
    "b": 212
  },
  "hsl": {
    "h": 242.182,
    "s": 39.007,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71769,
    "c": 0.0795,
    "h": 285.9
  },
  "luminance": 0.36238
}

Semantic roles & 50–950 ramp

primary
#9F9DD4
secondary
#ECECDF
accent
#B234AD
background
#FBFBFD
surface
#F6F6FB
border
#D0D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #9F9DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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