#9F9DCA#9F9DCA

#9F9DCA is a light, moderate blue. Relative luminance 0.357; OKLCH L 71.4% C 0.065 H 286.7°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#9F9DCA
RGBrgb(159, 157, 202)
HSLhsl(243, 30%, 70%)
HSVhsv(243, 22%, 79%)
CMYKcmyk(21.3%, 22.3%, 0%, 20.8%)
CIE-LABlab(66.33, 10.27, -22.76)
CIE-LCHlch(66.33, 24.97, 294.27°)
OKLaboklab(71.36% 0.0187 -0.0624)
OKLCHoklch(71.36% 0.065 286.7)
XYZxyz(37.0132, 35.7486, 60.8158)
Luminance0.3575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9DCA #C8CA9D
analogous
#9DB1CA #9F9DCA #B59DCA
triadic
#9F9DCA #CA9F9D #9DCA9F
tetradic
#9F9DCA #CA9DB1 #C8CA9D #9DCAB5
square
#9F9DCA #CA9DB1 #C8CA9D #9DCAB5
split-complementary
#9F9DCA #CAB59D #B1CA9D
monochromatic
#56539A #7875B5 #9F9DCA #C6C5DF #ECEBF4

Accessibility & contrast

On white

2.58
#9F9DCA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#9F9DCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9F9DCA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9DCA#FFFFFF#000000##000000
##9F9DCA1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A2CC
Deuteranopia (green-blind)
#91A0C9
Tritanopia (blue-blind)
#96A5AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9f9dca;
/* rgb */ color: rgb(159, 157, 202);
/* oklch */ color: oklch(71.4% 0.065 286.7);
Tailwind
colors: {
  custom: {
    50: '#bcb9da',
    500: '#9f9dca',
    950: '#000000',
  },
}
SCSS
$custom: #9f9dca;
$custom-light: #bcb9da;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9dca",
  "rgb": {
    "r": 159,
    "g": 157,
    "b": 202
  },
  "hsl": {
    "h": 242.667,
    "s": 29.801,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71356,
    "c": 0.06512,
    "h": 286.7
  },
  "luminance": 0.35749
}

Semantic roles & 50–950 ramp

primary
#9F9DCA
secondary
#E7E8DB
accent
#A83DA4
background
#FBFBFD
surface
#F6F6FA
border
#D0D0D3
text
#121114
muted
#818083

Preview Lab

Preview with #9F9DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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